I am not able to get the output after running my code...I don't know what the issue. please help

I am not able to get the output after running my code…I don’t know what the issue. please help

Replit Profile: https://replit.com/@gikmeriv

Hey, @gikmeriv welcome to the forums!

Can you please provide a link to the repl? This way it is easier for staff and members of the community to help you!

Also see this guide on how to share your code:


hm?? Actually i didn’t ask to correct my code…I am facing an issue that I’m not not able to get any output when I enter run

No, the post above is a bug. You can ignore that.
@gikmeriv For your code, you have comments (they won’t run), but the actual reason is that you have all these functions, but you don’t call them. If you don’t call the functions, the code won’t run.

@gikmeriv What file do you want to run?

The main issue I’m facing is I’m not getting any output for my code other than “main.py”…Even if my code is wrong, it should give an error right?? but its not giving that…I Click Run and done…nothing happens.

So you want to run main.py and not the other files?
I suggest you un-comment the code (check your instructions first) and try calling the functions you need to run.

No…I want to run other files and not main.py…I have run this code without commenting it…but facing the same issue

1 Like

Hey @gikmeriv!

Just click the next to “Files” then click “Show hidden files”. Next click on the .replit file and finally you can change the entrypoint to whatever file you want to run.



Show hidden files


You should also see the docs on how to configure a Repl: https://docs.replit.com/programming-ide/configuring-repl

And if you want to run the last edited file, take a look at this post:

Hope this helps!

Yeah…this helped…but Can’t I run both the files without intervening with each other

like i code in main.py and get the output
and without changing the entrypoint, i code in my other file and get code output of that code written in that file there only???

@gikmeriv So you want to run the file you most recently edited?

yeah…If i code in main.py then run…i will get the output…but I won’t change the entrypoint and code in my other file…run and get the output

Ok. Revert the entrypoint to main.py, and run this command in the Shell (taken from above):

1 Like

Well…I got the idea that I can’t run multiple .py files at the same time


@gikmeriv Sooo… have you tried what I suggested here?

You could always use threading or you could run one the normal way and one in the shell (python3 file.py with file being the name of your file). Replit doesn’t run multiple files at once so you’ll have to do it either manually or with code.

Umm…no…Well I’m fine with it…thanks for your time


Hi @gikmeriv !
If your problem is solved, could you mark the post that helped you most as the Solution?
If not, feel free to ask and clarify.

1 Like

You can run multiple files sequentially, one after another, by importing the file. When you import a file, all of the code in that file is run before any more code in the original file is run.

import asdf  # use name of file, without '.py'
1 Like