Skip to content

Instantly share code, notes, and snippets.

@GTimothee
Last active June 14, 2018 13:03
Show Gist options
  • Save GTimothee/68445d4b0065a4343c4374685377a458 to your computer and use it in GitHub Desktop.
Save GTimothee/68445d4b0065a4343c4374685377a458 to your computer and use it in GitHub Desktop.
if __name__ == "__main__":
with open('somefile.txt', 'a') as the_file:
the_file.write('Hello\n')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment