Creating Files

Terje Johan Abrahamsen terjeja at gmail.com
Wed May 4 06:46:29 EDT 2005


Dan wrote:
> On Wed, 04 May 2005 10:24:23 +0200, bruno modulix <onurb at xiludom.gro>
> wrote:
>
> >As in any other language I know : just open it in write mode !-)
>
> Easy when you know how.
>
> Thanks

e = file('c:/file.txt', 'w')

By the way, check out the Python tutor service...
http://mail.python.org/mailman/listinfo/tutor




More information about the Python-list mailing list