Skip to content

Instantly share code, notes, and snippets.

@acrymble
Created June 30, 2011 09:10
Show Gist options
  • Save acrymble/1055906 to your computer and use it in GitHub Desktop.
Save acrymble/1055906 to your computer and use it in GitHub Desktop.
Hello World to file.py
# file-output.py
f = open('helloworld.txt','w')
f.write('hello world')
f.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment