[Tutor] Create text file

Bernard Lebel atyss4si at hotmail.com
Thu Jul 1 09:17:27 EDT 2004


Hello,

I searched througout the Python docs but can't find anything about that.

Is there a way to create a text file in Python?
So far I'm using a FileSystemObject (wich is an ActiveX object, running
inside the Win32 module), in the form of

fso.createtextfile( )

But I'd like to stay away from active objects to maximize Windows-Linux
compatibility.

Any advince would be very welcomed.



More information about the Tutor mailing list