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

One gotcha that annoys me when do this... The file still needs to end in .py which I generally don't like for the bins and utilities in my path. Everyone using these shebangs either doesn't hit this or never mentions it. Entirely a stylistic personal preference but still makes me a sad lady.



Are you sure about this?

I just wrote a script without a .py extension, and it seemed to work fine.




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

Search: