[Tutor] write to a file

Gus Tabares gus.tabares@verizon.net
Mon, 19 Aug 2002 17:34:20 -0400


Hello,
	
	I'm trying write something to a file but I keep on getting this error:

Traceback (most recent call last):
  File "test.py", line 9, in ?
    os.open("C:\blah.txt", 'w')
TypeError: an integer is required

	I don't see what an integer has to do with anything? Thanks in advance...


Gus