python
python

Reputation: 4521

Autocompletion and function definition in Python Interpreter

See the below GIF Link

How does the documentation for all the functions appear as you type in the terminal?

I am already familiar with autocompletion and there are bunch to tutorials to do this but what about function definition? Currently I am using pip install ptpython module to get autocompletion feature but I want to know the function definition as well. Could anyone help me?

Upvotes: 1

Views: 382

Answers (1)

python
python

Reputation: 4521

Got my answer from @Padraic Cunningham. See the comment section.

This is a bpython shell. You can download using pip or apt-get install bpython

pip install bpython
sudo apt-get install bpython

To start go to your terminal and type bpython

enter image description here

Upvotes: 2

Related Questions