daily pastebin goal
46%
SHARE
TWEET

Untitled

a guest Mar 21st, 2019 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # general
  2. with open(FILE_PATH, "r") as f:
  3.   str = f.read()
  4.  
  5. # sjis_file
  6. with open(FILE_PATH, "rb") as f:
  7.   bindata = f.read()
  8.   str = bindata.decode('shift_jis')
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