Skip to content

Instantly share code, notes, and snippets.

@Sarchis
Last active December 12, 2015 09:18
Show Gist options
  • Save Sarchis/4749910 to your computer and use it in GitHub Desktop.
Save Sarchis/4749910 to your computer and use it in GitHub Desktop.
file_open = open('simon', 'r')
file_read = file_open()
change = file_read.replace('Simón', 'sarchis')
file_open.close()
new_file = open('newgate')
create_file = new_file.write(change)
new_file.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment