[Tutor] Files and file attributes

Jörg Wölke lumbricus@gmx.net
Thu, 22 Feb 2001 16:14:12 +0100 (MET)


> > On Thu, Feb 22, 2001 at 10:42:38AM +0100, Remco Gerlich wrote:
> > | On Wed, Feb 21, 2001 at 07:46:14PM -0500, D-Man wrote:
> > | I repeat my favorite solution, as I see everybody else omits it :)
> > | 
> > | f = open("c:/tmp/testfile","r+")
> > | 
> > | Windows is perfectly ok with forward slashes. They keep it a bit of a
> secret
> > | though...
> 
> is this a "Windows" feature or a Python induced platform specific
> translation?
> I thought forward slashes were used for something like environmental
> variables or something. ???

Jo -- windows interprets the string following a slash as a commandline
argument.

greets jö!

-------------------------------------------------------------------

-- 
Sent through GMX FreeMail - http://www.gmx.net