N
N
NikClik2018-08-23 06:21:55
Python
NikClik, 2018-08-23 06:21:55

How to combine functions from all existing files and call them from the console?

I have 3 .ru files. I need to somehow call functions (and they still have arguments) from these files via the command line by the name of the function, how can this be done?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2018-08-23
@NikClik

Import all functions into one file - https://stackoverflow.com/questions/2349991/how-to...
Parsing command line arguments - https://docs.python.org/3.1/library/getopt.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question