Using Console with multiple files open

Question:
Hi,

I need help to understand how console with multiple files open?
Console is just showing the program I have made in file one but not the one in file 2. How can I fix it?
Replit Profile: https://replit.com/@munazzahatiq92

Hey @munazzahatiq92, welcome to the forums!

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.

Images

Dots

Show hidden files

edited

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:

1 Like

Hi, you can have different consoles for different files at the same time by opening two Shell tabs.
Then, in each you can run the command python file.py where file.py is the name of the file you want to run in the shell. You can then “drag” out, or split, one of the Shell tabs to be able to view both at once.

3 Likes