If you are not tied to NetBeans for legacy reasons, the Python community overwhelmingly uses other tools. You will have a much easier time learning and coding if you switch to one of these:
While is primarily celebrated as a top-tier Java IDE, it also offers robust support for Python and Jython through dedicated plugins. This integration allows developers to leverage NetBeans' advanced editing features—like code completion and debugging—while working within the Python ecosystem. Key Features of Python in NetBeans python netbeans
Is Python on NetBeans going to overthrow PyCharm? Absolutely not. But is it a usable, stable environment for scripting, automation, and learning? If you are not tied to NetBeans for
NetBeans does not come "batteries included" for Python like it does for Java, PHP, or C++. However, thanks to the plugin (and the evolution toward NetBeans 12+), you can turn this Java-centric IDE into a fully functional Python editor. Key Features of Python in NetBeans Is Python