use command prompt commands using python code code example Example: Run python program from cmd or terminal pip3 install -r requirements.txt python3 app.py