EP wrote:
> Hi,
>
> This is likely a stupid question, but I am confused about what is going
> on with class attributes as far as whether they "stick". I ran across
> this in a program I am writing, but have reproduced the behavoir below
> - can someone point me in the right direction (thanks):
>
The python help function does not use python23.chm, which is a windows
only help file. You must open it from a menu item or the desktop
explorer. It does contain an entry for "and".
Other platforms usually have documentation in html format, which is why
you get a confusing error message.
Regards
if os.access( path, os.F_OK):
print 'path exists'
See also os.stat(path) for further info. about a file or dir.
regards, Paul Clinch
--
http://mail.python.org/mailman/listinfo/python-list
If using unix, you should have readline available.
See the tutotial appendix:-
http://www.python.org/doc/current/tut/node15.html
Regards, Paul Clinch
--
http://mail.python.org/mailman/listinfo/python-list