Proposed extension to file constructor

Taral taral at taral.net
Wed Jun 4 11:17:46 EDT 2003


On Wed, Jun 04, 2003 at 09:58:09AM -0500, Jeff Epler wrote:
> > Yuk. What if I want a file called "-"?
> 
> ... then you have to call it "./-".  Just like at the shell, where you
> have to type "rm ./-" instead of "rm -".

Did I mention yuk? That would have to be os.path.join(os.curdir, "-")
anyway.

-- 
Taral <taral at taral.net>
This message is digitally signed. Please PGP encrypt mail to me.
"Most parents have better things to do with their time than take care of
their children." -- Me
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20030604/5d12f165/attachment.sig>


More information about the Python-list mailing list