how to open a python file in terminal cmd code example Example: Run python program from cmd or terminal pip3 install -r requirements.txt python3 app.py