Ask coding questions

← Back to all posts
Can i run another file without being the
MiguelFilippo (0)

Hi guys, Im a beginner in python and in repl IDE, and im having some problems to run my own files .py. It just runs what is in the, even if im reading the file that i created. Can i run my files? if yes, how?
Thx =D
(obs: im brazilian, thats why my code is in portuguese sometimes)

Highwayman (1367)
if you don’t know sh or bash, then the command you’d use is python FILE where FILE is the file you want to run.

Shemira (13)

Not sure if this helps, but try taking a look a this:
Also, if you want to use files other than, just import them into