How to Install and Use IPython

July 9, 2020 Liquid Web

IPython is a robust Python shell that handles indentation, syntax highlighting, tab completion, and more. In this tutorial, we will cover how to install IPython and walk through how to make use of some features it makes available. Python provides a default REPL or shell for users to run Python code in real-time and see the results. While this default REPL is extremely useful, it does not handle things like indentation, syntax, or highlighting. This is where Ipython shines.

Commands used:
pip3 install ipython
ipython

for x in range(5):
   print(x)
name = 'Justin'
age = 120
true = True
list
?
print(x)  in range(5):
print(x)
%history

Video by: Justin Palmer

About the Author

Liquid Web

Liquid Web powers online content, commerce, and potential for SMB entrepreneurs and the designers, developers and digital agencies who create for them. Sign up for our <a href="https://www.liquidweb.com/blog">newsletter</a> to stay up to date with our latest content.

More Content by Liquid Web
Previous Video
Why Liquid Web in 30 Seconds
Why Liquid Web in 30 Seconds

Learn why you should choose Liquid Web in 30 seconds! https://www.liquidweb.com/

Next Video
How to Upgrade PHP on Windows
How to Upgrade PHP on Windows

Keeping your software and applications up-to-date is a crucial part of maintaining security and stability i...

Learn What Qualities to Look for in Your Next Host in Our New Guide!

Download Now