Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def fundamentalaNyckeltal(param):
- fundamentalaNyckeltalRoot = Tk()
- f = open("fundameta.txt", "r")
- if param == "1":
- f_contents = f.read(16)
- if param == "2":
- f_contents = f.read(16: 32) #from 16 to 32
- f.close()
- f_contents = f.read(16: 32) #from 16 to 32
- f.seek(16) # go to position 16
- f_contents = f.read(16) # read 16 bytes (from position 16), i. e. bytes 16 to 31
Add Comment
Please, Sign In to add comment