gandalf15/HX711

Python2.7 example has Python 3 hashbang

Closed this issue · 3 comments

Hello. I'm starting to use your library, and the first thing I ran into was that the Python 2.7 example has the Python 3 hashbang at the start:
#!/usr/bin/env python3

Yes, I should just convert myself to Python 3, especially for a new project... :-) I thought it was worth mentioning, though.

HeMe2 commented

I corrected this in my fork an created a pull request.

Thank You for mentioning it.

It is solved now. Closing this issue.

@HeMe2 , you're welcome! To be honest, that made me look into what's new in Python, and to realize that the end-of-life for Python 2.7.x is only two years away. It's time to (finally!) make the switch to Python 3.

So, for me, it was a "good" bug. :-)