Re: [Tutor] Tkinter Icon Suse 10

2006-08-27 Thread Henry Finucane
I found this mailing list message to be enlightening: http://mail.python.org/pipermail/python-list/2005-March/273123.html On 8/27/06, Alberto Troiano <[EMAIL PROTECTED]> wrote: > I tried that but still the same error. Any other idea? > > Rgds, > > Alberto > > > 2006/8/25, Alberto Troiano <[EMAIL PR

Re: [Tutor] Community documentation framework?

2006-08-07 Thread Henry Finucane
On 8/6/06, Bob Nienhuis <[EMAIL PROTECTED]> wrote: > > Have you had the experience of finding a nifty bit of code on the > web, trying it out, and then discovering that technique > only worked in version X.YY, or requires module Z that > is no longer available? > > Well perhaps we can address

Re: [Tutor] File like object for Windows registry

2006-08-03 Thread Henry Finucane
On 8/3/06, Andre Roberge <[EMAIL PROTECTED]> wrote: > On 8/3/06, Henry Finucane <[EMAIL PROTECTED]> wrote: > > On 8/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hello! > > > > > > My app should run on debian and windows platforms

Re: [Tutor] File like object for Windows registry

2006-08-03 Thread Henry Finucane
On 8/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello! > > My app should run on debian and windows platforms. For storing the > configuration data, I use the ConfigParser module. > > What I find difficult is to determine a place for my configuration file. On > debian, it is simply > > o

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) > > self.terr

Re: [Tutor] Please help!!

2006-05-19 Thread Henry Finucane
On 5/19/06, MATATA EMMANUEL <[EMAIL PROTECTED]> wrote: > > > > Hi there, Hi! > > I'm tasked to write a Paython script which is supposed to hit a web site and > download a shapefile from that web site. Cool. Look at urllib in your python documentation. > I don't have any clue and Me neither :) >

[Tutor] Tkinter pass-by-reference query

2006-05-19 Thread Henry Finucane
While attempting to add images to a canvas programmatically, I wrote the following: for i in os.listdir('./icons/terrain'): self.terrainScreen["height"] = str(int(self.terrainScreen["height"])+50) debug(self.terrainScreen["height"]+" height of terrainScreen",5) img = PhotoIm

Re: [Tutor] [webbrowser] some help on an error running mozilla firefox

2006-01-23 Thread Henry Finucane
On 1/22/06, Rinzwind <[EMAIL PROTECTED]> wrote: > Why does this: > > >>> import webbrowser > >>> webbrowser.open('http://www.google.com";) > > give me this: > > run-mozilla.sh: Cannot execute > /opt/firefox/mozilla-firefox-bin. > I would assume it's a permissions error. Can you exec