Created
March 1, 2019 18:03
-
-
Save ril3y/3f6fb6797781498022c047cc235f8188 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
def cat(filename, path="/flash"): | |
try: | |
f = open(path+'filename','r') | |
for line in f.readlines(): | |
print line | |
catch: | |
print("Err opening file") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment