How to set code auto prompt in python

The first step: Open pycharm, as shown below:

Step 2: File→Power Save Mode, remove the check as shown below:

Step 3: After removing the tick, the power saving mode is no longer used. Create a new python file and enter the letters in front of the word to be entered, and it will automatically prompt. As shown below:

Knowledge point expansion:

Automatic completion of Python code

The python editors I know are Pydev, Pycharm, Sublime, Eric. There are Vim and Emacs (I heard that VS is also OK).

Pydev has been used for a period of time (about half a month). Pycharm does not take more than 2 days (30-day trial version).

Sublime is less than 8 hours, and Eric has not downloaded it yet.

Vim did not exceed 4 hours, Emacs has been used for almost half a year (it takes about 1 month to write Python)

Since I am not familiar with other editors, I want to discuss with you about auto-completion

What are the functions of the completion in each editor, and what needs to be improved

I just know the automatic completion of Emacs, so I can only talk about the completion methods and functions of Emacs here.

Functions: 1. View function parameters 2. Completion of function parameters 3. View function or class doc 4. Use of function or class doc

  1. View the parameters of the function. pydev comes with doc, and it seems that the parameters cannot be displayed separately.

  2. Completion of function parameters. It seems that my pydev version is not new enough (pydev2.5), maybe I can't use it. I did not find out how to do it.

  3. Check the doc of the function or class. There should be all of them!

  4. Use of function or class doc. Same as above.

Recommended Posts

How to set code auto prompt in python
How to wrap in python code
How to use code running assistant in python
How to comment python code
python how to view webpage code
How to omit parentheses in Python
How to write classes in python
How to filter numbers in python
How to read Excel in Python
How to view errors in python
How to write return in python
How to understand variables in Python
How to clear variables in python
How to use SQLite in Python
How to use and and or in Python
How to introduce third-party modules in Python
How to represent null values in python
How to write win programs in python
How to install third-party modules in Python
How to custom catch errors in python
How to write try statement in python
How to define private attributes in Python
How to set static IP in ubuntu14.04
How to add custom modules in Python
How to understand global variables in Python
How to view installed modules in python
How to open python in different systems
How to sort a dictionary in python
How to add background music in python
How to represent relative path in python
How to use the round function in python
How to program based on interfaces in Python
How to install python in ubuntu server environment
Teach you how to write games in python
How to delete files and directories in python
How to install the downloaded module in python
How to write a confession program in python
Python how to move the code collectively right
How to perform continuous multiplication calculation in python
How to understand the introduction of packages in Python
Example of how to automatically download pictures in python
How to save IE as an attachment in python
How to create a Python virtual environment in Ubuntu 14.04
Python code to find bugs (2)
Python code to find bugs(7)
Python code to find bugs (3)
Python code to find bugs(9)
How to write Pythonic code
How to learn python quickly
How to uninstall python plugin
Python code to find bugs(6)
Python code to find bugs (1)
Python code to find bugs(8)
How to understand python objects
Python code to find bugs(5)
How to use python tuples
How to find the area of a circle in python
Do you still know how to draw cakes in python? ? ?
How to set or modify the time zone in CentOS 8
How to use hanlp in ubuntu
How to use python thread pool