[Pythonmac-SIG] py2exe with pmw...help needed

2009-06-25 Thread sudhakar s
Hi Everyone, This is sudhakar,i want to covert my pmw application into an executable on Windows and ".dmg or .app" on Mac. while i was trying i am able to convert but unable to run my application. After coverting Menubar.py into Menubar.exe using py2exe and when i run it i get the ERROR

[Pythonmac-SIG] Calling OS X libraries from python

2009-06-25 Thread Brendan Simon
I have found a function in OS X library IOUSBlib called GetLocationId(self, location) -- specified in IOUSBLib.h How can I call this function from python ?? Is there a python wrapper for this OS X library ?? If not, what is the best/easiest way to get a python interface to this library that will

[Pythonmac-SIG] pyusb error

2009-06-25 Thread Brendan Simon
I'm using pyusb and having problems with the getString() method on OS X. I can successfully read the bus and device info and display the output by running the sample program usbenum.py, but when I try to get the manufacturer string I get a usb_control_msg(DeviceRequestTO) error. I assume this is a