[Tutor] How to make ftplib show progress while uploading a large file

2007-02-04 Thread Magnus Wirström
Hi all I'm workinga on a program that will upload a large file to a server using ftp. I'm using ftplib to do this. I'm using a gui with wxpython and i would like to have a progressbar showing in % how much have been transfered. I have been googling but i can't make any sense of what i have fou

Re: [Tutor] How to make ftplib show progress while uploading a large file

2007-02-04 Thread Dave Kuhlman
On Sun, Feb 04, 2007 at 08:51:22PM +0100, Magnus Wirstr?m wrote: > Hi all > > I'm workinga on a program that will upload a large file to a server > using ftp. I'm using ftplib to do this. I'm using a gui with wxpython > and i would like to have a progressbar showing in % how much have been > tr

[Tutor] Why is this not working? Seems like a whitespace issue

2007-02-04 Thread Gizmo
Hello I have a whole directory tree of RAR files that I wish to extract as a batch job. In my real script I've used os.walk() and os.spawn*() but for demonstration purposes have a look at the code below import os process=r"C:\Program Files\WinRAR\Rar.exe" startDir = r"C:\to burn" os.system(pr

Re: [Tutor] Can I pause, stop or reset python virtual machine

2007-02-04 Thread Wong Vincent
Dear tutors, Hi. Does python provide any API to pause, stop or reset the virtual machine? Am currently building an application which will run a script file using os.popen(). In order to allow user to run, stop and pause the application, is it advisable to do the abovementioned? or is ther