On May 7, 5:14 am, Merrigan <[EMAIL PROTECTED]> wrote: > On May 7, 10:18 am, Steven D'Aprano > > > > <[EMAIL PROTECTED]> wrote: > > On Mon, 07 May 2007 00:28:14 -0700, Merrigan wrote: > > > 1. I have the script popping all the files that need to be checked into > > > a list, and have it parsing the list for everything...Now the problem is > > > this : The sever needs to check (at the moment) 375 files and eliminate > > > those that don't need reuploading. This number will obviously get bigger > > > and bigger as more files gets uploaded. Now, the problem that I'm having > > > is that the script is taking forever to parse the list and give the > > > final result. How can I speed this up? > > > By writing faster code??? > > > It's really hard to answer this without more information. In particular: > > > - what's the format of the list and how do you parse it? > > > - how does the script decide what files need uploading? > > > -- > > Steven. > > Hi, Thanx for the reply, > > The Script it available at this url > :http://www.lewendewoord.co.za/theScript.py > > P.S. I know it looks like crap, but I'm a n00b, and not yet through > the OOP part of the tutorial. > > Thanx in advance!
Do you have access to the machine via ssh? I would try to get away from FTP and use rsync for this kind of thing if possible. ~Sean -- http://mail.python.org/mailman/listinfo/python-list