>I decided to load scripts into memory myself and execute them with >PyRun_(Simple)String. > I don't know anything about this, but, I use PyRun_SimpleString( "execfile( 'filename' )" ) to execute files. Give it a try. Regards Stavros