Python3 change, replace file() with open()

This commit is contained in:
Salvo 'LtWorf' Tomaselli 2015-06-01 07:32:53 +02:00
parent 4af2230ced
commit acdd4629a6

View File

@ -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