Sorry, require small source, what you trying
Require more info, perhaps small source
Sorry for long time answer. My application use bass.dll near main code location. You can download http://avalera.ru/gb/gb05.zip and see this in action.
I think you use 64 bit python C:\Program Files\python27. You always can download 32 bit python and not install, only unpack to C:\python directory, and run from this. As alternative - you always can build pyirrlicht from sources for your 64 bit platform.