Created
February 10, 2013 14:33
-
-
Save Sarchis/4749754 to your computer and use it in GitHub Desktop.
how to create a file in python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new_file = open('nameFile', 'w') | |
new = new_file.write(string) | |
new_file.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment