Forcing a import.

Arinte shouldbe at message.com
Wed Oct 27 15:09:21 EDT 1999


I have a app that embeds python.  I run the .py files with PyRun_AnyFile()
right now, I was trying to so if there was a way I could force them to
import my c methods.  I tried a PyRun_SimpleString before I do the anyfile
call, but that did seen to work, because I got an attribute error.  Is a
forced import that isn't written in the *.py possible.






More information about the Python-list mailing list