<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<div class="moz-text-flowed" style="font-family: -moz-fixed;
font-size: 12px;" lang="x-unicode">Hi Paul,
<br>
<br>
On 1/9/11 4:28 PM, Paul Hoffman wrote:
<br>
<blockquote type="cite" style="color: rgb(0, 0, 0);">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:
<br>
<br>
#!/usr/bin/python
<br>
import SocketServer
<br>
</blockquote>
<br>
Something like this might work:
<br>
<br>
try:
<br>
import socketserver
<br>
except ImportError:
<br>
import SocketServer as socketserver
<br>
<br>
<br>
Monte<br>
</div>
</body>
</html>