with open('it_worked.txt', 'w') as f: f.write('Python actually ran.')