Created
January 7, 2017 16:34
-
-
Save augustogoulart/3256196c7e10c0981cb9df9779265fa1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| "" | |
| Remove os numeros das páginas que estão fora de posição no texto Madame Bovary. | |
| """ | |
| import re | |
| import fileinput | |
| for linha in fileinput.input("Madame-Bovary-Gustave-Flaubert.txt", inplace=True): | |
| print(re.sub("\d+", "", linha)) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment