Re: [Tutor] What's wrong with this?

2007-05-04 Thread Alan Gauld
"Jason Coggins" <[EMAIL PROTECTED]> wrote > I have the following function in a program: > > os.popen('filename.py') So what happened? Did you get an error message? If so what? > What I want to do is launch the program in the os.popen() function. Do you want to lasunch it or interact with it.

Re: [Tutor] What's wrong with this?

2007-05-04 Thread Andreas Kostyrka
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andre Roberge wrote: > Perhaps the following might be helpful: > > http://groups.google.com/group/comp.lang.python/browse_thread/thread/f1b60f4739591d6b/4417f807848b4b5d?lnk=gst&q=launching&rnum=4#4417f807848b4b5d > > (if the link does not work, go

Re: [Tutor] canvas -> make an object 'seem' to move

2007-05-04 Thread Teresa Stanton
Here is how I've changed it, based on your message and the errors I received while putting it together: # load and display several images using Tkinter # Tkinter reads only GIF and PGM/PPM images # (for additional formats use Image, ImageTk from PIL) from Tkinter import * import time root = Tk

Re: [Tutor] Text matching

2007-05-04 Thread Kent Johnson
Gardner, Dean wrote: > > So here it isit might not be pretty (it seems a bit un-python like > to me) but it works exactly as required. If anyone can give any tips for > possible optimisation or refactor I would be delighted to hear from > them. > > Thanks > > uid = self.item.Uid()

Re: [Tutor] Text matching

2007-05-04 Thread Gardner, Dean
So here it isit might not be pretty (it seems a bit un-python like to me) but it works exactly as required. If anyone can give any tips for possible optimisation or refactor I would be delighted to hear from them. Thanks uid = self.item.Uid() record=[] logList=[]