On Sep 23, 2014, at 3:54 AM, Aljaž Srebrnič <g5pw at macports.org> wrote: > Well, yes, but I’m assuming that if either one of xmlrpclib or urllib2.urlopen fails importing, the script is run under python3 since both modules are in core python. A decent assumption. Hope they never fail for any other reasons :) vq