Skip to content

Instantly share code, notes, and snippets.

@makmanalp
Created June 6, 2016 05:34
Show Gist options
  • Save makmanalp/7cb87832c06988a9d5e3ce1e3f54cecd to your computer and use it in GitHub Desktop.
Save makmanalp/7cb87832c06988a9d5e3ce1e3f54cecd to your computer and use it in GitHub Desktop.
Code in the body of a class - 10
In [98]: class Thing(object):
....: import json
....:
In [99]: Thing.json
Out[99]: <module 'json' from '.../lib/python3.5/json/__init__.py'>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment