Ask coding questions

← Back to all posts
Issue regarding tabs
Ahzam6 (0)

Hey! how can I run code of tabs other than main.py tab. Every time I run code of my own tab, it run the code of main.py.


Comments
hotnewtop
WWEMONSTERMONST (25)

If you want to run code of of file other than that of main file you have to create a .replit extension file and have the 2 lines in it that i wrote below

run = 'python other_file_name_with_full_path.py' 
language = 'python'