Using an IDE

The Chromium OS documentation has instructions for setting up VS Code.

Python autocompletion

If your editor has IDE features for Python (e.g. vscode with the Python extension installed), then you should open it with the appropriate environment variables set. e.g.:

(source environment; code .)