Skip to content

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

@GoogleCodeExporter

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions