Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 458 Bytes

README.md

File metadata and controls

22 lines (19 loc) · 458 Bytes

Python shell with default imports

Instead of typing multiple lines every time like:

$ python3
>>> import numpy as np
>>> import matplotlib.pyplot as plt

just run one command:

    $ pyclc

Install

Customize imports in pyclc.py, or leave default.
Run:

sudo install.sh

Usage

$ pyclc
>>> np.linspace(0, 1, 11)
array([0. , 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1. ])

Uninstall

sudo uninstall.sh