How To Use IPython - IPython (QUICK TUTORIAL)

preview_player
Показать описание

^Downloadable code & more!

A quick tutorial of some of the features of IPython. IPython is an interactive way to code, and it can be downloaded for windows mac or linux. This video is a quick tutorial that goes over some of the features of IPython.

This is a Python anaconda tutorial for help with coding, programming, or computer science. These are short python videos dedicated to troubleshooting python problems and learning Python syntax. For more videos see Python Help playlist by Rylan Fowers.

IPYTHON, that is an interactive coding tool that you can use in the terminal.

To get anaconda on your computer go to the website I have linked in the description, you can install it for windows, Mac or linux

To start I python simply type Ipython in your terminal (no need to be in a specific folder)

Ipython can help you know how certain functions work. For example if we want to know more about sets we type set, period, then tab and it will show us all of the different functions a set can do.

Perhaps in this case we aren’t sure what one of them does, for example the add function. Type it out with a question mark and Ipython will leave you a description.

Similarly with lists we can do the same thing. We hit period tab and choose a function. Say this time we want to know what count does.

You can also test code in python. For an example here I am making a simple for loop and showing you how you run that code in python. It prints great

Furthermore you can import different packages and use them in your ipython testing and exploring. For example lets import Numpy.

To quit I Python simply type quit

Or you can do control d, then it will ask you if you really want to exit. Click y, then enter

Thanks for watching, that is how you use Ipython.

#PythonMarathon #LearnPython #PythonTutorial Learn Python:

Video Equipment:

Other:
Рекомендации по теме
Комментарии
Автор

nice video...
with this nice CLI interface... I may became a Python fan
Please consider a video on hou to change the colors (where to config)
and how to configure shortcut-keys---


for example... I would love to have [Home] and [End] keys
moving to Start or Finish of the command list that iPython show when you press <Tab>

IBITZEE
Автор

thank you for introducing this great tool ! i just want to know how can I get the autocomplete ? because when I type np. nothing is popped up...( pyreadline is installed )

Ouiiissareu
Автор

What is it for, why would you use it? I don’t see much different from regular REPL

threepe
join shbcf.ru