problem opening a file on 2.2a1

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Mon Aug 20 15:51:03 EDT 2001


Mon, 20 Aug 2001 14:23:32 -0400, Rajarshi Guha <rajarshi at seed.chem.psu.edu> pisze:

> data = open('data.out','w')
> 
> works fine. But when I try it froma  script I get the error:

Do you 'from os import *'?
If so, don't.

-- 
 __("<  Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTĘPCZA
QRCZAK



More information about the Python-list mailing list