Mar-21-2024, 12:57 AM
You can use the import system
Quick example
one.py
Quick example
one.py
def func(): return 'One.py'two.py
def func(): return 'Two.py'three.py
def func(): return 'Three.py'main.py
import one, two, three print(one.func()) print(two.func()) print(three.func())
Output:One.py
Two.py
Three.py
I welcome all feedback.
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags