Ask coding questions

← Back to all posts
How to save python codes and call from
sunamrabose (3)

I'm new here. Could anyone help me saying, where can I save my python code in "" editor and run them from ""?

Chrisgopher (1)

You can add a file in your repl, and to run it you either need to copy your code in , or type just import <file_name>
If you've saved your file in a folder in your repl, then the command is import <foldername.file_name>
Note: Folder and File names cannot have special characters or spaces in their name, or a syntax error might occur, and not so valid file

ash15khng (721)

You can create a repl, type in your code in the file called and click run at the top of the screen.