4 lines
120 B
Python
4 lines
120 B
Python
# files/print_file.py
|
|
with open('print_example.txt', 'w') as fw:
|
|
print('Hey I am printing into a file!!!', file=fw)
|