Darn it I just re-read and saw you are on Windows.

Try this instead :-)


    set PYUSB_DEBUG_LEVEL=debug
    python your_script.py



On Wed, Jul 17, 2013 at 8:47 AM, chris clark <clac...@gmail.com> wrote:

> On Wed, Jul 17, 2013 at 7:58 AM, Elizabeth Tolman 
> <etol...@princeton.edu>wrote:
>
>> I'm running Windows 7.   I can get a bit of information about the device
>> from the test program of libusb, if that would be helpful for you.  I'm
>> having a bit of trouble understanding how to use the debug feature.  When I
>> type "export PYUSB_DEBUG_LEVEL=debug"  into the Python command line, I
>> get an error message with "invalid syntax."
>>
>
>
> This is an OS/shell  variable.
>
> This this instead:
>
>     env PYUSB_DEBUG_LEVEL=debug python your_script.py
>
> It does the same thing but ONLY for this one invocation.
>
> Chris
>
>
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to