running Windows 10
From what I understand python3 has tab completion in the python console already built in but this isn't working for me.
When I hit tab there is no completion:
Im aware there are modules that can do this, but I'd like to use the native feature if it is available to me on windows.
Enter: enter edit mode. Shift+Enter: run cell, select below. Shift+Tab: signature autocompletion.
Python IDLE has basic code completion functionality. It can only autocomplete the names of functions and classes. To use autocompletion in the editor, just press the tab key after a sequence of text. The call tip will display as a popup note, reminding you how to append to a list.
Tab Completion and History Editing. Completion of variable and module names is automatically enabled at interpreter startup so that the Tab key invokes the completion function; it looks at Python statement names, the current local variables, and the available module names.
As it says in the settings of IDLE, you can trigger the autocomplete with "Control + Space", e.g. after a "QtGui.". Then a menu opens where you can arrow-scroll through the entries.
The builtin completion relies on the GNU readline
library.
You may be able to get completion working by installing the python version (pyreadline) of this package on Windows.
python -m pip install pyreadline
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With