Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It’s a POSIX thing, and it has nothing to do with the file extension. The OP is right: file extensions are optional (and, as shown here, often actively misleading), but if they’re present they should match the actual file type. Which, in this case, is Python code , not a shell script.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: