Python (lint) Advice With Omni Imports

Starting with Create 2021.3.0 we included .pyi file as well as an example of creating VSCode project.
Go to Window → Extension Manager, on the top left there is “Plus” button. It creates project template with one extension in it. If you open it with VSCode you should have Pylance enabled and autocompletion working. It may suggest to install you certain VSCode extensions when opening.

We used to rely on setting PATH env before and then switched in favor of .pyi files. As getting it to work properly was extremely hard and overall it is limited by scraping abilities IDE used.

Latest Create also contains new documentation page “Embedded Python” with a bit of extra useful information around Python configuration.

1 Like