How to run a file other than

I just made a new .py file, but for some reason when I print output it ONLY works for my…as in the console only works properly if the code is in and it will completely ignore any code in the new .py file I created…any ideas on what to do?

When you slick RUN it only run, but this can be changed by modifying the .replit file

see here

That happens because the run and entrypoint in .replit is set to only, and not To solve this, click on the three dots on the filemenu, click show hidden files, and go to .replit. Change the entrypoint variable to

Oof… You beat me to it. Also, run is useless.

This is not a contest, id it? :slight_smile:

Hey @AngelicaWest, welcome to the community!

Just click the three dots 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.

You can also change the second line from run="run_command_for_lang" to run="run_command_for_lang", though it won’t have an effect for interpreted languages as shown in the comment on line 1.



Show hidden files


1 Like

It starts to feel like a contest now

It is a contest. Who can get on top of the cheers lb.

1 Like

It IS a contest. Who was the most helpful? Who answered the quickest?
Who’s the winner? The person who got Solution.

Also, is*


Lucky for you (whatever pronoun i need to use), i do not care about the cheers.


But, if you consider it, what can you get by having a post marked as solution? It won’t put more knowledge in your head. It won’t put money in your pocket. The reason I answer questions is for learning.

Umm… Badges…

Though, I also answer questions to learn more.

I answer just to help. And sometimes i learn form it too and that is great


Badges won’t give you knowledge, or put money in your pocket, same as solutions. Also from* @fpessolano .

1 Like

So we now know that changing account name does not updates posts where you were mentioned :slight_smile:


Did you change the Replit or Ask username?

Replit and as result ask also.