How to run .py file in termux

Question:

I already installed python in termux and don’t know how to run .py file

I typed python

It doesn’t do anything. I already installed some packages.
I am new to termux

WARP.py

download

python

Asked By: Syafa Rasendriya

||

Answers:

Did you save your Python script as main.py in the downloads at the first screenshot?

Then you may open the folder like you did in the second one of your screenshots and run the script with

python main.py
Answered By: PasWei
Categories: questions Tags: , , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.