Akhil Narayanan Nair home

Python - Write File1

================

outFile = open(‘sample.txt’, ‘w’)

outFile.write(‘My first output file!’)

outFile.close()