Skip to content
Sign upLog in
← Back to Community

Translator

Profile icon
clickpvp56

need help

Voters
Profile icon
clickpvp56
Comments
hotnewtop
Profile icon
[deleted]

yes you should delete .py
only the name of the file

Profile icon
clickpvp56

@Zuhdi28
its been solved thanks. I got the notification. wow back then I sucked at python. This is a 1 year old post. Stay safe!

Profile icon
[deleted]

@clickpvp56
np
stay safe too!

Profile icon
PYer

You would need to do:

import piglatin

And not import piglatin.py
If you include the .py extension, you are telling the computer to access a seperate module, py in the piglatin folder. Make sure to delete the .py on all import statements
Please mark as correct answer

Profile icon
ash15khng

When you import files, don't include the .py extension. Try that out and see if it works?

Profile icon
stevenhuang2025

I think you forgot to add the package pygame, that's what the console says.

Profile icon
ReplTalk

Hey there, please make sure your post body is at least 100 characters. That makes it easier for our community to help you!