Python software - SergeGit/rc-tank-platform GitHub Wiki
Auto start of program, maybe as: Shell link
Code
main.py
# This is the main function of project
from test import tekstfunction, tekstmain # from test.py import functions
#from test import *
if __name__ == "__main__":
tekstfunction()
function.py
# This is a function library
def tekstfunction():
testword = "Import"
print(f"This file is executed as: {testword} function")
def tekstmain():
testword = "Main"
print(f"This file is exuted as: {testword} function")
if __name__ == "__main__":
tekstmain() main()