Posts

Python JSON

JSON module in python is used to parse json files JSON is a format that is used to store and organize the information in easy to access manner When we do a json.loads(info) , the following translation happens      |  Performs the following translations in decoding by default:      |      |  +---------------+-------------------+      |  | JSON          | Python            |      |  +===============+===================+      |  | object        | dict              |      |  +---------------+-------------------+      |  | array         | list              |      |  +---------------+-------------------+      |  | ...

Python sdist

#------------ # sdist #------------ python setup.py sdist (assuming you haven’t specified any sdist options in the setup script or config file), sdist creates the archive of the default format for the current platform. The default format is a gzip’ed tar file (.tar.gz) on Unix, and ZIP file on Windows. You can specify as many formats as you like using the --formats option, for example: python setup.py sdist --formats=gztar,zip #------------------ #