News for hackers. Stuff that matters.
Re:Howdoi – Instant Coding Answers via the Command Line by gleitz on Tuesday January 08, 2013 @01:16PM (#5027490)
I'm not familiar with the proper way to annotate that. How would I change the hashbang?

#!/usr/bin/env python

Re:Howdoi – Instant Coding Answers via the Command Line by coldpie on Tuesday January 08, 2013 @01:20PM (#5027515)
I'm not an expert, but I believe just s/python/python2/. Also put it in the documentation as a requirement.

Edit: Hee hee

[aeikum@aeikum howdoi]$ howdoi use python2 on default python3

/usr/bin/env python2.7

Re:Howdoi – Instant Coding Answers via the Command Line by gleitz on Wednesday January 09, 2013 @10:13AM (#5031858)
My worry is that not everyone will have python2.7 so I'd rather stick to "#!/usr/bin/env python". It would be great if this works but it doesn't

#!/usr/bin/env python2