I have only written stand alone script before in Python. Now I am trying to write an app which can transform and migrate data between two databases. But when I am trying to crea
Here's the full code including the __init__.py
File - db/__init__.py
from .DataSource import *
from .RecordSet import *
File - main/__init__.py
from .main import *
File - PQF/__init__.py
from .db import *
from .main import *
from db import DataSource as database
from db import RecordSet
def main():
print("hello")
Run the main.py
script as python3 -m main.main