? Editing: Post:21.body Save Delete Cancel
Content changed Sign & Publish new content

NabBlog

I hate everything and everyone.
Fuck the world, the people.
Fuck the children, women, men.
Fuck politics, war, peace, money.
Fuck bullshit and startups.
Fuck stupids.

Fuck you.

Follow in NewsfeedFollowing

Latest comments:

Add new post

Title

21 hours ago · 2 min read 0
Body
Read more

[Python] Just write the fucking shebang

on Mar 05, 2016

That was 8 years ago. Python 3 has been released in 2008. Today, Python 2 has 16 years. And the 2 versions still live, for compatibility issues. I don't like this, but, it is necessary. All right.

So.

WHY CAN'T YOU PATCH YOUR FUCKING SCRIPTS KIDS ?

sed -i 's/#!\/usr\/bin\/env python/#!\/usr\/bin\/env python2/' very_very_very_old_script.py

0 Comments:

user_name1 day ago
Reply
Body
This page is a snapshot of ZeroNet. Start your own ZeroNet for complete experience. Learn More