How can I call python module inside versioned package folder?

Posted by Yanhua on Stack Overflow See other posts from Stack Overflow or by Yanhua
Published on 2010-04-20T03:55:51Z Indexed on 2010/04/20 4:13 UTC
Read the original article Hit count: 251

Filed under:

I need write python codes which run inside a host application. The python codes should be deployed under a specific folder of the host application. I must put my entry python module under the root of the specific folder. And I want put all my other python codes and c/c++ dll under a sub folder, I prefer to name the sub folder like XXX-1.0, the number is the version of my python codes. The entry python module is just simple call a python module under the sub-folder.

By this way different version python codes can be deployed together without collision. May I know it is possible or not? Thanks.

© Stack Overflow or respective owner

Related posts about python