Ask coding questions

← Back to all posts
unable to run, main file "" not found
FalconTFG (0)

I assume this is a simple error, how do I fix this?

Coder100 (18187)

it IS a simple problem!

Step 1:
create a file

Step 2.
put this inside it:

GalaxyWolfX (77)

@Coder100 Or you could do what I said. That works, too.

Coder100 (18187)

no, that won't work is not a python file as you should know @GalaxyWolfX

GalaxyWolfX (77)

@Coder100 Did you not see the language?

GalaxyWolfX (77)

@Coder100 With all due respect, I should expect you to take notice of the language, Bash.

Coder100 (18187)

yes, so that's why you can't just copy and paste python code and treat it as bash lol @GalaxyWolfX

GalaxyWolfX (77)

@Coder100 (FACEPALM) Yes, sorry. I just took notice of the language used therein. I apologise.

GalaxyWolfX (77)

@FalconTFG You are simply using a Python file. Copy the code from that file, then paste it into a file named