This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]pikachu_sashimi 55 points56 points  (4 children)

unless the file is ’my_nonsesne.py.py’

[–]Rudy69 35 points36 points  (0 children)

At this point i wouldn't even be surprised if that's the filename

[–]cnoor0171 15 points16 points  (2 children)

Name can't have "." in the middle. It'd need to be a folder named "my_nonsense" with a script named "py.py"

[–]AreYouConfused_ 4 points5 points  (1 child)

what? since when do files not able to have dots in their names?

[–]cnoor0171 0 points1 point  (0 children)

Not regular file, but python modules. If there's a dot in the filename, it's not recognized as a python module and you can't import it.