Quote:
Originally Posted by dottore
It works for me, PM sent.
|
def MakeFile(file_name):
"""
MakeFile(file_name): makes a file.
""" temp_path = 'C:\\Python27\\' + file_name
file = open(temp_path, 'w')
file.write('')
file.close()
print 'Execution completed.'
MakeFile('my.active.uboat.data.txt')
I dont understnd python but it seems that the command "MakeFile (file_name)" wasnot
doing anything.
That "makes a file" thingy looks weird for me. Is this a comment or something?
Installed python v2.7.2.
__________________
Dietrich von Carlewitz, 2nd Lt.
U-29
|