This commit is contained in:
qhga 2022-08-04 13:22:49 +02:00
commit 184de8576f
Signed by: phga
GPG Key ID: 5249548AA705F019
7 changed files with 21 additions and 0 deletions

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# HOWTO
Run like this: `python -m src`

2
src/__init__.py Normal file
View File

@ -0,0 +1,2 @@
print("INIT")

4
src/__main__.py Normal file
View File

@ -0,0 +1,4 @@
from .test_queueing_model import doSmth
print("MAIN")
doSmth() # Funktionsimport

3
src/databases.py Normal file
View File

@ -0,0 +1,3 @@
class PostgresDB:
def __init__(self):
print("POSTGRES")

0
src/dbs/__init__.py Normal file
View File

3
src/dbs/db.py Normal file
View File

@ -0,0 +1,3 @@
class DB:
def __init__(self):
print("DB")

View File

@ -0,0 +1,6 @@
from .databases import PostgresDB
from .dbs.db import DB
def doSmth():
p = PostgresDB()
d = DB()