A little disappointed so far

Skip Montanaro skip at pobox.com
Sun May 18 23:07:41 EDT 2003


    Erik> Skip Montanaro wrote:
    >> But wrong. ;-) os.access is almost never what you want.  Try
    >> os.path.exists() instead.

    Erik> Well, os.path.isfile anyway :-).

Yeah, I long ago abandoned sh for anything more complicated than a chain of
piped commands stored in my .bash_history.  If it gets complicated enough
that I have to run "man test" to distinguish -f from -r, I use Python. :-)

Skip





More information about the Python-list mailing list