On 02Jul2013 08:57, Νίκος <ni...@superhost.gr> wrote: | Thank you, the error have been caused due to the fact that the | uploading procedure of my edited 'pelatologio.py' hadn't been | completed yet, while i was requesting the execution of the script | via browser. | | I didn't had to do anything it solved by itself, after upload was | successful and file got unlocked for access.
If you're uploading using sftp (or, worse, ftp), might I suggest using rsync instead? Amongst other features, it uploads to a temporary file and then renames the temporary file to the real file. There is no window where the "live" file is being written to. The live file is the old one, and then later it is the new one. Cheers, -- Cameron Simpson <c...@zip.com.au> No team manager will tell you this; but they all want to see you come walking back into the pits sometimes, carrying the steering wheel. - Mario Andretti -- http://mail.python.org/mailman/listinfo/python-list