SHARE
TWEET

Untitled

a guest Nov 17th, 2018 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def fundamentalaNyckeltal(param):
  2.     fundamentalaNyckeltalRoot = Tk()
  3.     f = open("fundameta.txt", "r")
  4.     if param == "1":
  5.         f_contents = f.read(16)
  6.     if param == "2":
  7.         f_contents = f.read(16: 32) #from 16 to 32
  8.     f.close()
  9.    
  10. f_contents = f.read(16: 32) #from 16 to 32
  11.    
  12. f.seek(16)              # go to position 16
  13. f_contents = f.read(16) # read 16 bytes (from position 16), i. e. bytes 16 to 31
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top