Created
July 7, 2023 17:39
-
-
Save robintux/e59e33dda244d2ce360b992335808d82 to your computer and use it in GitHub Desktop.
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
try: | |
f = open('fichero.txt') # El fichero no existe | |
except ... : | |
print('¡El fichero no existe!') | |
else: | |
print(f.read()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment