Skip to content
/ pyclc Public

Running python shell with default imports. One can use it as calculator.

Notifications You must be signed in to change notification settings

hocop/pyclc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Running python shell with default imports. One can use it as calculator.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published