How call the script (python)

Tell me, please, how to call a script with arguments in python in the console.
I get an error when calling a script:
Python 3.6.1 (default, Dec 2015, 13:05:11)
[GCC 4.8.2] on linux
usage: [-h] {create_db,add,get} ... -h
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'main' is not defined

You are viewing a single comment. View All
Answered by TheDrone7 (560) [earned 5 cycles]
View Answer

I did not want to spam, I thought that the first post was not created. Thanks for the answer.