[Baypiggies] Best practices for making code run on 2.6 and 3.x?
davidoff56 at alluvialsw.com
Mon Jan 10 01:55:00 CET 2011
On 1/9/11 4:28 PM, Paul Hoffman wrote:
> I have a program that I want to distribute that needs to work on
> systems running Python 2.6 or 3.x. Unfortunately, some of the modules
> have changed names. For example:
> import SocketServer
Something like this might work:
import SocketServer as socketserver
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Baypiggies