I'm working with a Netbeans for Python development, I have a number of projects (which have a number of modules). What I basically want to know is, how do I import one of these modules into a new project? I have tried editing the python path in netbeans, but to no avail. Here's my setup:
Netbeans projects ================= ProjectA ModuleA ClassA.py (Assume a class called TestClass exists in this file) ModuleB ... ProjectB ... ProjectC ...
Now what I want to do is in a "new project" is the following:
from ProjectA.ModuleA.ClassA import TestClass
Do I have to add the src folders for each of the projects to the pythonpath? I have tried this but still I get "No Module named ..."