Proposed extension to file constructor

Skip Montanaro skip at
Wed Jun 4 17:28:39 CEST 2003

    taral> That would have to be os.path.join(os.curdir, "-") anyway.

Depends upon how much of a portability stickler you are.  I think "./-"
should work on Unix, Windows and Mac OS X.


More information about the Python-list mailing list