OSError [Errno 26] ?!?!
Cameron Simpson
cs at zip.com.au
Tue Jul 2 03:21:38 EDT 2013
On 02Jul2013 08:57, Νίκος <nikos at 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 <cs at 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
More information about the Python-list
mailing list