Re: [Tutor] Trying to prevent ftplib from locking my script

2005-10-05 Thread Kent Johnson
Andrew P wrote: > Normally I wouldn't pipe up here because threads really can be very > tricky. But check out: > > http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/435883 > > I use this recipe, originally from "Python in a Nutshell", all the time, > to solve exactly your problem. Slow

Re: [Tutor] Trying to prevent ftplib from locking my script

2005-10-04 Thread Andrew P
Normally I wouldn't pipe up here because threads really can be very tricky.  But check out: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/435883 I use this recipe, originally from "Python in a Nutshell", all the time, to solve exactly your problem.  Slow network stuff that I don't have

Re: [Tutor] Trying to prevent ftplib from locking my script

2005-10-04 Thread Kent Johnson
Tim Rupp wrote: > Hi list, > > I'm trying to write a python script that uses ftplib to send items to a > local server I have. I want to be able to give ftplib a file to send, > and then just have it sort of go into the background and do its thing > while the script does other "stuff" > > My attem