Python3 change, replace file() with open()
This commit is contained in:
parent
4af2230ced
commit
acdd4629a6
@ -74,7 +74,7 @@ class relation (object):
|
|||||||
it will use the old format with space separated values.
|
it will use the old format with space separated values.
|
||||||
'''
|
'''
|
||||||
|
|
||||||
fp = file(filename, 'w') # Opening file in write mode
|
fp = open(filename, 'w') # Opening file in write mode
|
||||||
|
|
||||||
writer = csv.writer(fp) # Creating csv writer
|
writer = csv.writer(fp) # Creating csv writer
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user