hey, guys pardon me I’m totally new to programming. please someone tell me why I have this error message
‘No such file: main.py
repl process died unexpectedly: exit status 2’
here are my project links
https://replit.com/@AhmadKurdi3/boilerplate-arithmetic-formatter#new%20project/arithmetic_arranger.py
https://replit.com/@AhmadKurdi3/boilerplate-arithmetic-formatter#new%20project/main.py
Hi @AhmadKurdi3 , welcome to the forum!
Basically, your main.py file cannot be in a folder. I recommend getting rid of the folder altogether after move your two files out of it.
No, Qwerty meant to move your main.py file out of the folder and to not create a new one.
1 Like
Thank you so much!
Excuse me and pardon me for my ignorance in the environment
So you mean I should delete the folder and create another folder then put the two py files into the new folder Right?
Edit: some grammar mistakes
In this case I can’t , because I have a python project that they both need to be in the same file in order for the terminal to read it
In that case, try changing the entrypoint
in the hidden .replit
file.
1 Like
Is there a video about what you are talking about? If possible please…
Here’s some pictures that should help you:
Images
2 Likes
What?
You shouldn’t need to change the entrypoint. You could have just moved both main.py
and arithmetic_arranger.py
out of the folder.
1 Like
system
Closed
May 31, 2023, 10:03pm
11
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.