You need to develop your prototype in a method in Java, not Python, then port the Java method into a script in Maximo. In Maximo, you have all of the Java libraries that Maximo does to do all of its wonderful stuff, but you don't have the Python ones. Rather than fight to get all of Python into Maximo, you should grab a coffee and go with Java libraries accessed from the sleek syntax of Python.
------------------------------
Jason Uppenborn
Cohesive
------------------------------