Python3 change, replace file() with open()

master
Salvo 'LtWorf' Tomaselli 2015-06-01 07:32:53 +07:00
parent 4af2230ced
commit acdd4629a6
1 changed files with 1 additions and 1 deletions

@ -74,7 +74,7 @@ class relation (object):
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