Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Python
Misleading IOerror when opening a non-existent file for append?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="jkn, post: 2045996"] Hi there Thanks for the comments. I see that I actually confused myself a bit with my posting. It's been a while and I mistook the use of '/' as a platform-independent directory delimiter with the use of '\\'. I also thought that I was seeing something similar on Windows and Linux. This may not be the case ;-o. So, to try again. It looks as it the attempt to open a non-existent file (for instance, because the parent folder does not exist) gives an odd error on Linux but not on Windows. (replacing the '\' with '/' gives the same message, which is what I was trying to convey) On Linux, you get the 'Bad mode' error. Strange?! Jon N [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Python
Misleading IOerror when opening a non-existent file for append?
Top