Last active
July 20, 2016 18:04
-
-
Save fenderrex/843d25ff5b0970d7e90e6c1d7e4a06b1 to your computer and use it in GitHub Desktop.
best use json.loads(io.StringIO(["some data","this could be a string ect..."]))
This file contains hidden or 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
#dont like importing like someone who wont read? use | |
class wrapper(string):#or String or str one of the the will work | |
def __init__(self,str): | |
self.str=str | |
def read(self): | |
return self.str | |
#google python __get__ __set__ | |
json.loads(wrapper("what ever data"))#fix first error and only? lol | |
#or | |
#json.loads(io.StringIO(["some data","this could be a string ect..."])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment