Re: [Tutor] Tkinter pass-by-reference query

2006-05-20 Thread Alan Gauld
While attempting to add images to a canvas programmatically, I wrote the following: for i in os.listdir('./icons/terrain'): ... img = PhotoImage(file='./icons/terrain/'+i) self.terrainScreen.create_image(int(self.terrainScreen[height])-50, (int(self.terrainScreen[height])-50),

Re: [Tutor] Please help!!

2006-05-20 Thread Alan Gauld
I'm tasked to write a Paython script which is supposed to hit a web site and download a shapefile from that web site. The urllib module should do that for you but... I don't have any clue and would like your help. What do you know? Do you understand HTML? and specifically how to create

Re: [Tutor] Tkinter pass-by-reference query

2006-05-20 Thread Henry Finucane
Thanks for your help, I've gotten it to work. On 5/20/06, Alan Gauld [EMAIL PROTECTED] wrote: While attempting to add images to a canvas programmatically, I wrote the following: for i in os.listdir('./icons/terrain'): ... img = PhotoImage(file='./icons/terrain/'+i)

Re: [Tutor] Please help!!

2006-05-20 Thread Alan Gauld
[CCing back to list] I know HTML even if I haven't used it for sometimes. I Also know couple other programming languages (Visual basic, some C++). I just taken a Python course of writting Python scripts for ArcGIS so that if you sent me a script, I will be able to understand it. OK, now we

Re: [Tutor] Please help!!

2006-05-20 Thread MATATA EMMANUEL
Alan, Man! I was thinking that it was simple. This is a little bit hard but will try to make sense of it as I can. Thank you for your assistance. I'm glad you're up there to assist. Matt From:"Alan Gauld" [EMAIL PROTECTED]To:"MATATA EMMANUEL" [EMAIL PROTECTED]CC:tutor@python.orgSubject:Re:

Re: [Tutor] Please help!!

2006-05-20 Thread Alan Gauld
Man! I was thinking that it was simple. This is a little bit hard but will try to make sense of it as I can. OK, the way this list operates is that you try to solve it yourself. When it doesn't work you tell us what you tried to do and what went wrong. We then try to point you in the right

[Tutor] File encoding strategy question

2006-05-20 Thread Andrew Robert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi everyone, I am in the process of creating a file transmit/receiver program using MQSeries. The way it works is through creation of an XML message. Elements within the XML message contain things such as file name, size, and the file contents.