No
Fredrik Lundh
fredrik at pythonware.com
Tue Feb 21 12:17:25 EST 2006
"Gaz" wrote:
> OSError: [Errno 2] No such file or directory: 'c:/'
> args = (2, 'No such file or directory')
> errno = 2
> filename = 'c:/'
> strerror = 'No such file or directory'
>
> Crazy... and if i use c:\, i get a 500 error.
that's probably because "c:\" is a syntax error:
>>> "c:\"
File "<stdin>", line 1
"c:\"
^
SyntaxError: EOL while scanning single-quoted string
but since you're getting a "500 error" instead, it sure sounds like you
forgot to tell us *how* you're running your scripts... (server, platform,
python version, etc).
</F>
More information about the Python-list
mailing list