A
A
Afrodita131242020-11-24 01:04:22
Python
Afrodita13124, 2020-11-24 01:04:22

How to run the source from GitHub with the parameters I need in the python code?

I want to run this source from GitHub https://github.com/crinny/teleboost
Let's say I put all the code from it in one file, there are no errors. The main executable class, as I understand it, is This class contains the main function, into which you need to pass parameters for further work. If you install the 'teleboost' package, then you need to execute the command to use it. My question is how to execute the same command, but directly in the source code, that is, write a link in the code. class ViewCommand(Command)
python -m teleboost view "ссылка на пост"

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question