Hacker News new | ask | show | jobs
by madsravn 3919 days ago
I read the same article as the guy and was also discouraged by using PIL. Python 2 vs Python 3 just makes life hard for people not used to Python. Maybe someone should do something about that.

I just went ahead and implemented the code in C++ instead.

1 comments

It's mostly a solved problem nowadays – Pillow exists as much better and Python3-compatible PIL fork.
I wans't talking about just PIL - I was talking about Python 2 vs Python 3 in general.

EDIT: And I'm not talking about development only. I'm talking about download small scripts and being able to run them seamlessly as well.

Just pick one and use it. If it is a long project pick python 3. If you actually use python you'll barely notice the difference.

EDIT If the script uses a well formed #! this isn't too much of a problem either.

> EDIT If the script uses a well formed #! this isn't too much of a problem either.

He does have a point, though: Dependency management in Python is a pain in the ass. Virtualenvs aren't really a solution, distribution packages are usually horribly outdated, …