Tuesday, June 29, 2010

Six: Python 2/3 compatibility helpers

Increasingly, I've seen a movement towards supporting Python 2 and Python 3 in the same code base. Having ported a few projects myself, I decided to collect the code I've duplicated between them into a library. The result is six. It includes fake byte and unicode literals, b() and u() and has wrappers for syntax changes such as print and exec. You can check out the documentation on PyPi.The license is MIT, so I hope it can see wide use in projects planning to support Python 2 and 3 simultaneously.


DrKJam said...

This is exactly what I've been looking for. Thanks for sharing!

Martijn Faassen said...

I like the name. :)

Praneeth M said...

It's very useful post and i had good experience with this salesforce training in Chennai who are offering good certificaiton assistance. I would say salesforce training is a best way to get certified on crm.

Unknown said...

Erectile dysfunction treatment in chennai
Premature ejaculation treatment in chennai
Small penis size treatment in chennai
Ivf clinic in chennai

Addons said...

media entertainment it solutions in los angeles
emerging technology company in los angeles
artificial intelligence company in los angeles
blockchain technology company in los angeles
data science and analytics services in los angeles

Ramesh Sampangi said...

AI Patasala Python Training Hyderabad is the best choice to leverage knowledge.

Anonymous said...

Thanks for Sharing sir this is important for me…

Tech Engineer BD said...

Thanks for the great content Sir, I wil also share with my friends & onece again thanks a lot.
Seo optimization (Seo Ready) Best Responsive Blogger Template FlatMag
how to increase blog traffic fast
remove realme c3 frp bypass 2021
How To optimize Twitter Meta Tags in Blogger Update -2021

eMexo Technologies said...

Pretty Post! Thank you so much for sharing this good content, it was so nice to read and useful to improve my knowledge as an updated one, keep blogging.

Python Certification Training in Electronic City

Video Downloader said...

Awesome Post. Thanks For This Article

tokyak said...

fujikura splicing machine price
splicing machine