I have this structure:
Git
|
|-->Framework
| |
| '---> framework.py
|
'-->Software hanging on framewok
|
'---> main.py // here i need inherit class from framework.py module.
So far, I use the following procedure which I found in many other replies in this forum:
import sys
sys.path.append("../Framework")
from framework import Framework
class Main(Framework):
def __init__(self):
super().__init__()
But I really don't like to add paths everytime I need something from framework package. Is there some workaround?