Re: [Tutor] I am trying to read and decode an emails PDF attachment via python,

2011-08-20 Thread dave selby
Did a lot more digging and finally sorted it, sorry for bothering you guys, Cheers Dave On 20 August 2011 10:58, dave selby wrote: > I am trying to read and decode an emails PDF attachment via python, > its a dedicated mailbox, anything emailed there is to be read by the > script, deleted from

Re: [Tutor] Tkinter: Deleting text when clicking in field.

2011-08-20 Thread brandon w
On 08/20/2011 07:11 PM, Alan Gauld wrote: On 20/08/11 20:12, brandon w wrote: I worked on this for a long time. I did many searches to fix the many error messages I was getting and I finally got this to work. I would now just like to have the text disappear when a person clicks in the box to typ

Re: [Tutor] Tkinter: Deleting text when clicking in field.

2011-08-20 Thread Alan Gauld
On 20/08/11 20:12, brandon w wrote: I worked on this for a long time. I did many searches to fix the many error messages I was getting and I finally got this to work. I would now just like to have the text disappear when a person clicks in the box to type something. How can I do that? You need

Re: [Tutor] Modules and Python tutorial by S. Thurlow - opinions please

2011-08-20 Thread Alan Gauld
On 20/08/11 15:25, Lisi wrote: ridiculous. I think that I understand how to write a basic function, but I can't work out how to save and call it. If you literally mean how to write,save and use a Python function (from within another script) then I'll have a go: How to save and run a bash sc

[Tutor] Tkinter: Deleting text when clicking in field.

2011-08-20 Thread brandon w
I worked on this for a long time. I did many searches to fix the many error messages I was getting and I finally got this to work. I would now just like to have the text disappear when a person clicks in the box to type something. How can I do that? (This is just a sample of the whole program.

Re: [Tutor] Modules and Python tutorial by S. Thurlow - opinions please

2011-08-20 Thread Lisi
Thanks, Steven. :-) I'll get back to this this evening. Lisi On Saturday 20 August 2011 16:51:07 Steven D'Aprano wrote: > Lisi wrote: > > I have got myself well and truly bogged down. I need to change the angle > > from which I am looking. I only have a short while left for now in which > > to

Re: [Tutor] Modules and Python tutorial by S. Thurlow - opinions please

2011-08-20 Thread Steven D'Aprano
Lisi wrote: I have got myself well and truly bogged down. I need to change the angle from which I am looking. I only have a short while left for now in which to make some sort of progress with Python. What do people think of: http://www.sthurlow.com/python/ Is it reasonably accurate and th

[Tutor] Modules and Python tutorial by S. Thurlow - opinions please

2011-08-20 Thread Lisi
I have got myself well and truly bogged down. I need to change the angle from which I am looking. I only have a short while left for now in which to make some sort of progress with Python. What do people think of: http://www.sthurlow.com/python/ Is it reasonably accurate and therefore useful

[Tutor] I am trying to read and decode an emails PDF attachment via python,

2011-08-20 Thread dave selby
I am trying to read and decode an emails PDF attachment via python, its a dedicated mailbox, anything emailed there is to be read by the script, deleted from the mailbox and processed. http://pastebin.com/VA1gwWH3 def get_next_mail() works AOK, I get a nice long string containing the next email a