Skip to content

Instantly share code, notes, and snippets.

@iagosousadev
Last active December 10, 2015 13:08
Show Gist options
  • Save iagosousadev/4438746 to your computer and use it in GitHub Desktop.
Save iagosousadev/4438746 to your computer and use it in GitHub Desktop.
archive = raw_input("Name of the archive: ")
text = raw_input("Type new text here: ")
t = open("%s.txt"%archive, "w")
t.write("%s"%text)
t.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment