IPython magic commands, now available in pure Python
Project description
IPython's magic commands, now implemented in pure Python (Python using only built-in libraries).
How to install using pip
in Windows 10:
- Open command prompt (
Win+R
, type in 'cmd') - Type command
pip install magic-commands
2.1. To install in Python versionX.Y
, dopipX.Y install magic-commands
orpy -X.Y -m pip install magic-commands
(requires global py launcher)
2.2. Ifpip
is not already installed, dopy -m ensurepip
, or in Python versionX.Y
dopy -X.Y -m ensurepip
2.3. If neitherpy
norpython
is a command, make sure to have installed Python with theAdd PythonX.Y to PATH
andglobal py launcher
options checked.
How to install using pip
in Ubuntu 20.04 LTS (Needs confirmation):
- Open Terminal
- Run
pip install magic-commands
2.1. To install in Python version 'X.Y', dopipX.Y install magic-commands
orpythonX.Y -m pip install magic-commands
2.2. Ifpip
is not already installed, dopython -m ensurepip
, or in Python versionX.Y
dopythonX.Y -m ensurepip
ORsudo apt install python-pip
2.3. If neitherpython
norpython3
is a command, Python can be installed usingsudo apt install python
, or specifically Python versionX.Y
do
sudo apt update sudo apt install software-properties-common sudo add-apt-repository ppa:deadsnakes/ppa sudo apt update sudo apt install pythonX.Y
To check if magic-commands
is installed:
- On Windows 10
1.1 Open command prompt (Win+R
, type in 'cmd')
1.2 Open python by entering commandpy
orpython
. To open Python versionX.Y
specifically, dopy -X.Y
1.3 Type inimport magiccmds
. If noImportError
occurs, the package is installed. - On Ubuntu 20.04 LTS
2.1 Open Terminal
2.2 Open python by entering commandpython
orpython3
. To open Python versionX.Y
specifically, dopythonX.Y
2.3 Type inimport magiccmds
. If noImportError
occurs, the package is installed.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
magic-commands-0.0.13.tar.gz
(22.1 kB
view hashes)