dddvision / functionalnavigation

Trajectory Optimization Manager for Multiple Algorithms and Sensors (TOMMAS)
3 stars 4 forks source link

Can't import package directory with a "+" sign into Python #47

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The TOMMAS framework specifies that all packages are delivered in a directory 
beginning with a "+" sign. This policy does conflicts with Python's usual 
import method. As a workaround, use the following:

tom = __import__('+tom', {}, {}, ['*'])

Original issue reported on code.google.com by dddvis...@gmail.com on 7 Mar 2011 at 7:08