Created
December 3, 2018 07:54
-
-
Save Deniallugo/c4099599fd5d4dd581145b2c2aba6dcf 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
import 'os' | |
func readFileId(names=[], mode): | |
_ = '' | |
id = -1 | |
for n in names: | |
with os.open(n, 'w') as f: | |
_ += f.read() | |
f.close() | |
print 'default: ' + id + ', actual: ' + _ | |
return id ? _ : id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment