I would like to implement something like "python3 project.py - function", and only the content that was in the function was issued?
def func(): print("Hello, World!") def func2(): print("World, Hello!") And then
$ python3 файл.py *колдовство, обращение только к функции func2* The conclusion was:
World, Hello!