Skip to content Skip to sidebar Skip to footer
Showing posts with the label Compatibility

Making Python 2.7 Code Run With Python 2.6

I have this simply python function that can extract a zip file (platform independent) def unzip(sou… Read more Making Python 2.7 Code Run With Python 2.6

Unpickling Python2 Datetime Under Python3

I chose to use pickle (+base64+TCP sockets) to communicate data between my python3 code and legacy … Read more Unpickling Python2 Datetime Under Python3

Is It Preferable To Use __future__ Or Future To Write Code Compatible With Python2 And Python3?

Or are there specific situations where one is better than the other? So far, all I gathered is that… Read more Is It Preferable To Use __future__ Or Future To Write Code Compatible With Python2 And Python3?