A Practice About How To:
- Package Your Python Code
- Register Your Package name on PyPI and Upload The Source Distributions
- pip install package-made-by-you
Reference:: https://python-packaging.readthedocs.org/en/latest/index.html
To use (with caution), simply do:
>>> import pyfun >>> print pyfun.joke()