Re: usb tv stick and python

2022-05-09 Thread Dennis Lee Bieber
On Mon, 9 May 2022 17:56:32 +0200, jak declaimed the following: >First of all, thank you for your reply. Actually I already have a handy >work around to use w_scan because I have a VM with linux (ubuntu) >installed. I was just looking for a python package/library that would >allow me to write a w

Re: usb tv stick and python

2022-05-09 Thread jak
Il 09/05/2022 16:28, Dennis Lee Bieber ha scritto: On Mon, 9 May 2022 08:47:50 +0200, jak declaimed the following: Hello everybody, I usually use vlc to watch tv and I use the w_scan program on linux to create a file (.m3u) with the list of available channels. Unfortunately I can't find an alt

Re: usb tv stick and python

2022-05-09 Thread Dennis Lee Bieber
On Mon, 9 May 2022 08:47:50 +0200, jak declaimed the following: >Hello everybody, >I usually use vlc to watch tv and I use the w_scan program on linux to >create a file (.m3u) with the list of available channels. Unfortunately >I can't find an alternative to w_scan for Windows and I was wondering

usb tv stick and python

2022-05-09 Thread jak
Hello everybody, I usually use vlc to watch tv and I use the w_scan program on linux to create a file (.m3u) with the list of available channels. Unfortunately I can't find an alternative to w_scan for Windows and I was wondering if you could tell me some python library that allows me, easily, to

Re: Using a usb to boot and install the Debian os on my harddisk.

2019-09-17 Thread nospam_2019
Am 17.09.19 um 12:41 schrieb Hongyi Zhao: > Hi, > > Is some python tools to make a bootable usb and then using it to install > the following dvd-iso into my harddisk: > > https://cdimage.debian.org/debian-cd/current/amd64/iso-dvd/debian-10.1.0- > amd64-DVD-1.iso No pyt

Using a usb to boot and install the Debian os on my harddisk.

2019-09-17 Thread Hongyi Zhao
Hi, Is some python tools to make a bootable usb and then using it to install the following dvd-iso into my harddisk: https://cdimage.debian.org/debian-cd/current/amd64/iso-dvd/debian-10.1.0- amd64-DVD-1.iso Regards -- https://mail.python.org/mailman/listinfo/python-list

Re: Multimeter USB output

2016-08-30 Thread Paul Rubin
Larry Hudson writes: > Actually "Brain Dead Software" it was not! Brain Damage Software, apparently: https://en.wikipedia.org/wiki/BDS_C -- https://mail.python.org/mailman/listinfo/python-list

Re: Multimeter USB output

2016-08-30 Thread Larry Hudson via Python-list
On 08/29/2016 09:24 PM, Paul Rubin wrote: Larry Hudson writes: with BDS-C under CP/M. Somebody remenbering this no-fp compiler from the dark age before PC und Linux? I remember it well. It's what I used to initially learn C. Source code is online here: http://www.bdsoft.com/resources/bdsc.

Re: Multimeter USB output

2016-08-30 Thread mm0fmf
On 29/08/2016 09:54, Joe wrote: Am 28.08.2016 um 17:22 schrieb Dennis Lee Bieber: If you can read spaghetti coded C, you might want to study https://sourceforge.net/projects/ut61/ Interesting, but... The last time I did something with c, it was with BDS-C under CM/M. Somebody remenbering this

Re: Multimeter USB output

2016-08-30 Thread Larry Hudson via Python-list
On 08/30/2016 04:01 AM, D'Arcy J.M. Cain wrote: On Mon, 29 Aug 2016 21:21:05 -0700 Larry Hudson via Python-list wrote: I remember it well. It's what I used to initially learn C. I'm a completely self-taught, hobby programmer. Been around since the MITS Altair. How many remember that beast??

Re: Multimeter USB output

2016-08-30 Thread Joe
Am 30.08.2016 um 13:01 schrieb D'Arcy J.M. Cain: On Mon, 29 Aug 2016 21:21:05 -0700 Larry Hudson via Python-list wrote: I remember it well. It's what I used to initially learn C. I'm a completely self-taught, hobby programmer. Been around since the MITS Altair. How many remember that beast?

Re: Multimeter USB output

2016-08-30 Thread D'Arcy J.M. Cain
On Mon, 29 Aug 2016 21:21:05 -0700 Larry Hudson via Python-list wrote: > I remember it well. It's what I used to initially learn C. I'm a > completely self-taught, hobby programmer. Been around since the MITS > Altair. How many remember that beast?? Remember it and still have it in the baseme

Re: Multimeter USB output

2016-08-30 Thread Joe
Am 30.08.2016 um 06:24 schrieb Paul Rubin: Larry Hudson writes: with BDS-C under CP/M. Somebody remenbering this no-fp compiler from the dark age before PC und Linux? I remember it well. It's what I used to initially learn C. Source code is online here: http://www.bdsoft.com/resources/bdsc

Re: Multimeter USB output

2016-08-29 Thread Paul Rubin
Larry Hudson writes: >> with BDS-C under CP/M. Somebody remenbering this no-fp compiler from >> the dark age before PC und Linux? > I remember it well. It's what I used to initially learn C. Source code is online here: http://www.bdsoft.com/resources/bdsc.html I've looked at it a little. I do

Re: Multimeter USB output

2016-08-29 Thread Larry Hudson via Python-list
On 08/29/2016 01:54 AM, Joe wrote: [snip...] Interesting, but... The last time I did something with c, it was with BDS-C under CM/M. Somebody remenbering this no-fp compiler from the dark age before PC und Linux? I remember it well. It's what I used to initially learn C. I'm a completely sel

Re: Multimeter USB output

2016-08-29 Thread Rob Gaddi
Joe wrote: > The UT61B has two interfaces, a RS232C interface and this usb interface. > The RS232 interface works well with PySerial. It continously transmits 2 > .. 3 Pakets per second with 14 Bytes each. This happens unsolicited > without any command as long as the RS232C/USB b

Re: Multimeter USB output

2016-08-29 Thread Joe
Am 29.08.2016 um 10:54 schrieb Joe: it was with BDS-C under CM/M. under CP/M, of course. -- https://mail.python.org/mailman/listinfo/python-list

Re: Multimeter USB output

2016-08-29 Thread Joe
Am 28.08.2016 um 17:22 schrieb Dennis Lee Bieber: If you can read spaghetti coded C, you might want to study https://sourceforge.net/projects/ut61/ Interesting, but... The last time I did something with c, it was with BDS-C under CM/M. Somebody remenbering this no-fp compiler from the dark ag

Re: Multimeter USB output

2016-08-28 Thread Terry Reedy
On 8/28/2016 5:13 AM, Joe wrote: Am 28.08.2016 um 00:45 schrieb Terry Reedy: On 8/27/2016 3:35 PM, Joe wrote: Hi, I'm using Python 3.5.1 with PyUSB 1.0 under Win 10 (64). We try to read the USB output of a DMM 'UT61B'. import usb.core import usb.util import usb.backend.lib

Multimeter USB output

2016-08-28 Thread Joe
Am 28.08.2016 um 00:45 schrieb Terry Reedy: > On 8/27/2016 3:35 PM, Joe wrote: >> Hi, >> >> I'm using Python 3.5.1 with PyUSB 1.0 under Win 10 (64). We try to read >> the USB output of a DMM 'UT61B'. >> >> import usb.core >> i

Re: Multimeter USB output

2016-08-27 Thread Terry Reedy
On 8/27/2016 3:35 PM, Joe wrote: Hi, I'm using Python 3.5.1 with PyUSB 1.0 under Win 10 (64). We try to read the USB output of a DMM 'UT61B'. import usb.core import usb.util import usb.backend.libusb1 def Gosub(): dev = usb.core.find(idVendor=0x1a86, idProduct=0x

Multimeter USB output

2016-08-27 Thread Joe
Hi, I'm using Python 3.5.1 with PyUSB 1.0 under Win 10 (64). We try to read the USB output of a DMM 'UT61B'. import usb.core import usb.util import usb.backend.libusb1 def Gosub(): dev = usb.core.find(idVendor=0x1a86, idProduct=0xe008) # Digital Multimeter UT61B

Re: Send commands to USB device in Python

2014-05-26 Thread andre . miras
Hi, I saw your thread on SourceFourge (http://sourceforge.net/p/pyusb/mailman/message/31969943/), but I don't have an account. I also have MTI RU-824 reader. I sniffed the USB communication in the Windows demo program and I saw that the header should be written backward. So rather than: H

Send commands to USB device in Python

2014-02-10 Thread Setia Budi
Hi fellows, I am facing difficulties in order to send USB commands to an RFID reader. This is the command reference of the device: https://github.com/mti-rfid/RFID_Explorer I am working with the MTI RU-824 model. The manufacturer of the device only provide a driver for Windows (using .Net

iPhone 4 USB problem

2013-07-09 Thread saishreemathi
Hello everybody ! I have a problem with my iphone 4. When I connect it to my pc it does not connect as a usb. I mean I can still open it with itunes but not read the files in my computer. So I cant download my photos and videos ! I've tried almost everything I've found by googling but

USB wont format?

2013-07-08 Thread saadharana
Hi guys; i have here a Scandisk Usb that i formatted it to f32 and tried to use on Linux did not work now i'm trying to use it on windows and it says i have to format and i go format it and it wont format . - used computers in chennai -- View this message in context: http://python

Re: USBLock : lock/unlock your computer with a USB key

2013-04-12 Thread Schneider
, feel free. I will probably need to refactor the Listener a little, or create a USB and BT listener class. Doesn't BlueTooth have a 30 foot range? For locking I'd rather be at 10 or even 5 feet away. Pair it with a Google Glass and have it lock after you've stopped looking at th

Re: USBLock : lock/unlock your computer with a USB key

2013-04-12 Thread Dylan Evans
ight start work on that, > >> and if anyone else wants to dive in and help, feel free. I will probably > >> need to refactor the Listener a little, or > >> create a USB and BT listener class. > > > > > > Doesn't BlueTooth have a 30 foot range? For locki

Re: USBLock : lock/unlock your computer with a USB key

2013-04-12 Thread Ian Kelly
feel free. I will probably >> need to refactor the Listener a little, or >> create a USB and BT listener class. > > > Doesn't BlueTooth have a 30 foot range? For locking I'd rather be at 10 or > even 5 feet away. Pair it with a Google Glass and have it lock after

Re: USBLock : lock/unlock your computer with a USB key

2013-04-11 Thread Ethan Furman
On 04/11/2013 04:13 AM, Sven wrote: Yes, I had the idea to add bluetooth too, removes the whole plugging and unplugging spiel. I might start work on that, and if anyone else wants to dive in and help, feel free. I will probably need to refactor the Listener a little, or create a USB and BT

Re: USBLock : lock/unlock your computer with a USB key

2013-04-11 Thread Sven
Thanks for taking an interest. Yes, I had the idea to add bluetooth too, removes the whole plugging and unplugging spiel. I might start work on that, and if anyone else wants to dive in and help, feel free. I will probably need to refactor the Listener a little, or create a USB and BT listener

Re: USBLock : lock/unlock your computer with a USB key

2013-04-11 Thread Dylan Evans
This looks cool, would actual be pretty useful. I see you did it as a usb project but probably bluetooth would be better so you could just pair it to your phone and know that your PC will lock when you walk away. On Tue, Apr 9, 2013 at 1:21 AM, Sven wrote: > I've been working on

USBLock : lock/unlock your computer with a USB key

2013-04-08 Thread Sven
I've been working on a little project and have a working Linux implementation so far. Basically it allows a user to use any USB stick as a key to lock and unlock their computer. More info in the repo or PyPi https://pypi.python.org/pypi/USBLock Basically run the program with -a to add a d

Re: Getting USB volume serial number from inserted device on OSX

2013-04-05 Thread Sven
On 5 April 2013 06:20, Tim Roberts wrote: > John Nagle wrote: > > > > That would be useful to have as a portable function for all USB > >devices. Serial port devices are particularly annoying, because their > >port number is somewhat random when there's more

Re: Getting USB volume serial number from inserted device on OSX

2013-04-04 Thread Tim Roberts
John Nagle wrote: > > That would be useful to have as a portable function for all USB >devices. Serial port devices are particularly annoying, because their >port number is somewhat random when there's more than one, and changes >on hot-plugging. There is no porta

Re: Getting USB volume serial number from inserted device on OSX

2013-04-04 Thread John Nagle
On 4/2/2013 3:18 PM, Sven wrote: > Hello, > > I am using Python 2.7 with pyobjc on Lion and NSNotification center to > monitor any inserted USB volumes. This works fine. > > I've also got some ideas how to get a device's serial number, but these > involve j

Re: Getting USB volume serial number from inserted device on OSX

2013-04-03 Thread Sven
am using Python 2.7 with pyobjc on Lion and NSNotification center to > > monitor any inserted USB volumes. This works fine. > [...] > > Since your question really is about OS X APIs and not Python or even > PyObjC, you're more likely to get a meaningful answer elsewher

Re: Getting USB volume serial number from inserted device on OSX

2013-04-02 Thread Ned Deily
In article , Sven wrote: > I am using Python 2.7 with pyobjc on Lion and NSNotification center to > monitor any inserted USB volumes. This works fine. [...] Since your question really is about OS X APIs and not Python or even PyObjC, you're more likely to get a meaningful answe

Getting USB volume serial number from inserted device on OSX

2013-04-02 Thread Sven
Hello, I am using Python 2.7 with pyobjc on Lion and NSNotification center to monitor any inserted USB volumes. This works fine. I've also got some ideas how to get a device's serial number, but these involve just parsing all the USB devices ('system_profiler SPUSBDataType' c

Re: Python to send Midi commands to iPad via USB

2013-01-24 Thread rusi
d to an external Midi > deck through a usb cable and be controlled. > So I think I would connect the iPad via USB to my computer and... try to send > midi commands. > I think the limitation is that the iPad will allow signaling/connection only > to Midi devices, so I have to make so

Re: Python to send Midi commands to iPad via USB

2013-01-24 Thread Chris Angelico
guess is not recognized. > Shame. > > I'll keep on investigating, hopefully without loosing any of my neurons. Yeah, this is the bit where you have to poke around with iPad stuff. They say "there's an app for that"; maybe there's a way to turn an iPad into a USB M

Re: Python to send Midi commands to iPad via USB

2013-01-24 Thread mikprog
[..] > > > ~$ pmidi -p 128:0 No.19.mid > > > Could not open file No.19.mid > > > > > > Doesn't that mean that the iPad is not seen? > > > Heya! That was just an example; I used track number 19 from the opera > > "Iolanthe" as my test file. Pick any other MIDI file you have handy. This is

Re: Python to send Midi commands to iPad via USB

2013-01-24 Thread Chris Angelico
the first column of aplaymidi -l output. On my system currently, I have 128:0 through 128:3 from TiMidity, and 14:0 "Midi Through". When my USB device is connected, I get a couple more ports from it. ChrisA -- http://mail.python.org/mailman/listinfo/python-list

Re: Python to send Midi commands to iPad via USB

2013-01-24 Thread mikprog
On Thursday, January 24, 2013 10:44:47 AM UTC, Chris Angelico wrote: [..] > > Are you able to hook into ALSA? I've had reasonable success driving a > > USB-MIDI cable using ALSA. See if you can do it with the inbuilt > > 'pmidi' app first: > > > >

Re: Python to send Midi commands to iPad via USB

2013-01-24 Thread Chris Angelico
On Thu, Jan 24, 2013 at 9:31 PM, wrote: > What I have to do is to write a Python application that will send MIDI > commands to an iPad application. > All I know is that the iPad application can be connected to an external Midi > deck through a usb cable and be controlled. > So

Python to send Midi commands to iPad via USB

2013-01-24 Thread mikprog
Dear all, I am asking for a design/strategy suggestion. What I have to do is to write a Python application that will send MIDI commands to an iPad application. All I know is that the iPad application can be connected to an external Midi deck through a usb cable and be controlled. So I think I

Re: Python USB control on Windows 7?

2012-12-23 Thread Michael Torrie
> implementing the functionality. > > Thanks anyway. Or you might have more fun if you cut off the USB plug, and drive the thing directly using an Arduino board. You can use the USB serial port on it to prgrammatically turn the thing on and off from your computer, or a billion oth

Re: Python USB control on Windows 7?

2012-12-23 Thread Duncan Booth
Chris Angelico wrote: > On Sun, Dec 23, 2012 at 6:28 PM, Tim Roberts wrote: >> Duncan Booth wrote: >>> >>>In this year's Christmas Raffle at work I won a 'party-in-a-box' >>>including USB fairy lights. >>> >>>They sit borin

Re: Python USB control on Windows 7?

2012-12-23 Thread inq1ltd
On Sunday, December 23, 2012 06:34:41 PM Chris Angelico wrote: > On Sun, Dec 23, 2012 at 6:28 PM, Tim Roberts wrote: > > Duncan Booth wrote: > >>In this year's Christmas Raffle at work I won a 'party-in-a-box' > >>including USB fairy lights. > >

Re: Python USB control on Windows 7?

2012-12-22 Thread Chris Angelico
On Sun, Dec 23, 2012 at 6:28 PM, Tim Roberts wrote: > Duncan Booth wrote: >> >>In this year's Christmas Raffle at work I won a 'party-in-a-box' including >>USB fairy lights. >> >>They sit boringly on all the time, so does anyone know if I can tog

Re: Python USB control on Windows 7?

2012-12-22 Thread Tim Roberts
Duncan Booth wrote: > >In this year's Christmas Raffle at work I won a 'party-in-a-box' including >USB fairy lights. > >They sit boringly on all the time, so does anyone know if I can toggle the >power easily from a script? My work PC is running Win7. Not e

Python USB control on Windows 7?

2012-12-21 Thread Duncan Booth
In this year's Christmas Raffle at work I won a 'party-in-a-box' including USB fairy lights. They sit boringly on all the time, so does anyone know if I can toggle the power easily from a script? My work PC is running Win7. -- http://mail.python.org/mailman/listinfo/python-list

Re: Sending USB commands with Python

2012-08-30 Thread Tim Roberts
"Adam W." wrote: > >You are correct about the 2 being the number of bytes written. However when I >issue a read command I get: > >>>> ep.write('\x1BA') >4 >>>> ep.read(1) >usb.core.USBError: [Errno None] b'libusb0-dll:err [_u

Re: Sending USB commands with Python

2012-08-30 Thread Cameron Simpson
y to byte values out. You're speaking a binary protocol, not text, so you want a one to one mapping. Better still would be to be using a bytes I/O layer instead of one with a text->byte translation; I do not know if the USB library you're using offers such. So try 'iso8859-1'; at

Re: Sending USB commands with Python

2012-08-30 Thread Adam W.
On Thursday, August 30, 2012 12:55:14 AM UTC-4, Dennis Lee Bieber wrote: > > How many bytes did it claim to send? > 11, which is what I expected. But I changed the byte value to 16 (because I was having trouble getting single digit hex values working in the command) and sent this command:

Re: Sending USB commands with Python

2012-08-29 Thread Adam W.
ated as part of the hex. This stuff always confuses me. > > > >>> ep = usb.util.find_descriptor( > > > intf, > > > custom_match = \ > > > lambda e: \ > > > usb.util.endpoint_direction(e.bEndpointAddress) == \ > > >

Re: Sending USB commands with Python

2012-08-29 Thread MRAB
On 30/08/2012 00:45, Adam W. wrote: On Wednesday, August 29, 2012 6:56:16 PM UTC-4, Dennis Lee Bieber wrote: BUT you do give a possible clue. Is the OP using a 3.x Python where strings are Unicode -- in which case the above may need to be explicitly declared as a "byte string" rather

Re: Sending USB commands with Python

2012-08-29 Thread Adam W.
On Wednesday, August 29, 2012 6:56:16 PM UTC-4, Dennis Lee Bieber wrote: > > BUT you do give a possible clue. Is the OP using a 3.x Python where > > strings are Unicode -- in which case the above may need to be explicitly > > declared as a "byte string" rather than text (unicode) string. >

Re: Sending USB commands with Python

2012-08-29 Thread Cameron Simpson
On 30Aug2012 08:29, I wrote: | UTF-16? ISTR that Windows often uses big endian UTF-16 [...] Sorry, little-endian. Anyway... -- Cameron Simpson Ed Campbell's pointers for long trips: 3. Stop and take a break before you really need it. -- http://mail.python.org/mailman/listinfo/python-list

Re: Sending USB commands with Python

2012-08-29 Thread Cameron Simpson
On 29Aug2012 17:57, Dennis Lee Bieber wrote: | On Wed, 29 Aug 2012 14:21:30 -0700 (PDT), "Adam W." | declaimed the following in | gmane.comp.python.general: | > You are correct about the 2 being the number of bytes written. However when I issue a read command I get: | > | > >>> ep.write('\x1BA

Re: Sending USB commands with Python

2012-08-29 Thread Adam W.
ead request to retrieve the returned printer > > status. > You are correct about the 2 being the number of bytes written. However when I issue a read command I get: >>> ep.write('\x1BA') 4 >>> ep.read(1) Traceback (most recent call last): File &quo

Re: Sending USB commands with Python

2012-08-29 Thread Adam W.
On Wednesday, August 29, 2012 2:45:17 AM UTC-4, Tim Roberts wrote: > Which operating system are you using? If you are on Windows, then the > > operating system has already loaded a printer driver for this device. > > > The libusb or libusbx libraries can be used to talk to U

Re: Sending USB commands with Python

2012-08-28 Thread Tim Roberts
"Adam W." wrote: > >So I'm trying to get as low level as I can with my Dymo label printer, >and this method described the PDF >http://sites.dymo.com/Documents/LW450_Series_Technical_Reference.pdf >seems to be it. > >I'm unfamiliar with dealing

Re: Sending USB commands with Python

2012-08-28 Thread hamilton
On 8/28/2012 11:04 PM, alex23 wrote: On Aug 29, 1:03 pm, hamilton wrote: The OP posted the link to the manual. If your not going to at least look it over, . Speaking for myself, I _don't_ go out of my way to read extra material But, you will give advice that has no value. Anything

Re: Sending USB commands with Python

2012-08-28 Thread alex23
On Aug 29, 1:03 pm, hamilton wrote: > The OP posted the link to the manual. > If your not going to at least look it over, . Speaking for myself, I _don't_ go out of my way to read extra material to help someone with a problem here. If it's worth mentioning, mention it in the question. --

Re: Sending USB commands with Python

2012-08-28 Thread hamilton
On 8/28/2012 8:54 PM, Dennis Lee Bieber wrote: 2) does the printer appear as a serial port by the OS? Or as a printer device? The OP posted the link to the manual. If your not going to at least look it over, . USB Printer Interface The LabelWriter 450 series printers

Re: Sending USB commands with Python

2012-08-28 Thread Jorge Mazzonelli
tp://sites.dymo.com/Documents/LW450_Series_Technical_Reference.pdfseems to > be it. > > I'm unfamiliar with dealing with the USB interface and would greatly > appreciate it if someone could tell me how to send and receive these > commands with Python. Perhaps if you were feeling generous and wanted to > write a

Sending USB commands with Python

2012-08-28 Thread Adam W.
So I'm trying to get as low level as I can with my Dymo label printer, and this method described the PDF http://sites.dymo.com/Documents/LW450_Series_Technical_Reference.pdf seems to be it. I'm unfamiliar with dealing with the USB interface and would greatly appreciate it if som

Need help on using the USB module

2011-09-18 Thread swarupchandra kamerkar
Hi, I am trying to use Pythoin on windows. I wanted to use the uSB module. I downloaded it and installed it. Still I get the following message. >>> import usb Traceback (most recent call last): File "", line 1, in import usb ImportError: DLL load failed: T

controlling Python script with usb midi controller tia sal22

2011-06-30 Thread Rick T
Greetings All I have a usb midi controller (uc-33e) and I have a working python script see below. I would like to be able to control the variables of the python script using my usb controller does anyone have an example of this? I would like to use the "midi learn" function to automatic

Re: Get USB ID of a serial port through pyserial?

2011-03-31 Thread wisecracker
Hi John Nagle... > Is there some way to get the USB ID of a serial port through pyserial on > Linux and/or > Windows? I`m surprised that the big guns on here haven`t helped... Short answer no. > USB serial port devices have device names determined by when they were > plugg

Re: Get USB ID of a serial port through pyserial?

2011-03-31 Thread Tim Golden
On 30/03/2011 20:01, John Nagle wrote: Is there some way to get the USB ID of a serial port through pyserial on Linux and/or Windows? USB serial port devices have device names determined by when they were plugged in. So, if you have more than one USB serial device, you need the USB device&#

Get USB ID of a serial port through pyserial?

2011-03-30 Thread John Nagle
Is there some way to get the USB ID of a serial port through pyserial on Linux and/or Windows? USB serial port devices have device names determined by when they were plugged in. So, if you have more than one USB serial device, you need the USB device's built-in ID to figure out what&

Re: Python use with Mightex Buffer USB camera

2010-10-28 Thread Godson Gera
ed, Oct 27, 2010 at 7:46 PM, Greg Miller wrote: > Does anyone have any experience using Python and ctypes to interface > with one of the Mightex USB cameras? I am following the CPP code > example and so far I think I've done pretty well talking to the dll. > I am able to get ser

Re: Python use with Mightex Buffer USB camera

2010-10-27 Thread Christoph Gohlke
On Oct 27, 7:16 am, Greg Miller wrote: > Does anyone have any experience using Python and ctypes to interface > with one of the Mightex USB cameras?  I am following the CPP code > example and so far I think I've done pretty well talking to the dll. > I am able to get serial n

Python use with Mightex Buffer USB camera

2010-10-27 Thread Greg Miller
Does anyone have any experience using Python and ctypes to interface with one of the Mightex USB cameras? I am following the CPP code example and so far I think I've done pretty well talking to the dll. I am able to get serial number information back from the camera, however I am not sure i

Re: Is Python portable/Can I install it on an USB Stick?

2010-07-15 Thread Marek Kubica
On 14 Jul 2010 19:28:58 GMT tommyb...@hotmail.com (Thomas Tundor) wrote: > Is Python portable? Yes. > Can I install it on an USB Stick? Yes. > Or is Python installing (at least on WinXP) services or register some > DLLs or write something into Registry? Well, the installe

Re: Is Python portable/Can I install it on an USB Stick?

2010-07-14 Thread Christian Heimes
> Is Python portable? > > Can I install it on an USB Stick? > > Or is Python installing (at least on WinXP) services or register some DLLs or > write something into Registry? Yes, a single user installation of Python is portable. An installation for every user is not portable

Re: Is Python portable/Can I install it on an USB Stick?

2010-07-14 Thread Philip Semanchuk
On Jul 14, 2010, at 3:28 PM, Thomas Tundor wrote: Is Python portable? Can I install it on an USB Stick? Or is Python installing (at least on WinXP) services or register some DLLs or write something into Registry? http://www.portablepython.com/ -- http://mail.python.org/mailman/listinfo

Is Python portable/Can I install it on an USB Stick?

2010-07-14 Thread Thomas Tundor
Is Python portable? Can I install it on an USB Stick? Or is Python installing (at least on WinXP) services or register some DLLs or write something into Registry? Thomas -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and USB

2009-10-14 Thread Gabriel Genellina
En Wed, 14 Oct 2009 09:55:15 -0300, Ronn Ross escribió: I'm new to Python and would like to capture mouse movements. I envision writing a script that will just write out the mouse movements in the term. Is this possible? Can someone point me in the right direction? Capture mouse movement

Python and USB

2009-10-14 Thread Ronn Ross
I'm new to Python and would like to capture mouse movements. I envision writing a script that will just write out the mouse movements in the term. Is this possible? Can someone point me in the right direction? -- http://mail.python.org/mailman/listinfo/python-list

Re: recording input from USB port and write to text file

2009-08-19 Thread Diez B. Roggisch
Diez B. Roggisch schrieb: Simon Forman schrieb: On Aug 18, 7:33 pm, Allan wrote: Hi! I'm fairly new to Python. I understand the basics basics but I'm been trying to write a simple python code that will let me read input data (such as mouse movement) from my USB port and write it

Re: recording input from USB port and write to text file

2009-08-19 Thread Diez B. Roggisch
Simon Forman schrieb: On Aug 18, 7:33 pm, Allan wrote: Hi! I'm fairly new to Python. I understand the basics basics but I'm been trying to write a simple python code that will let me read input data (such as mouse movement) from my USB port and write it in a text file and I am so

Re: recording input from USB port and write to text file

2009-08-19 Thread Simon Forman
On Aug 18, 7:33 pm, Allan wrote: > Hi! I'm fairly new to Python.  I understand the basics basics but I'm > been trying to write a simple python code that will let me read input > data (such as mouse movement) from my USB port and write it in a text > file and I am so los

Re: recording input from USB port and write to text file

2009-08-19 Thread Diez B. Roggisch
Piet van Oostrum wrote: >>>>>> Allan (A) wrote: > >>A> Hi! I'm fairly new to Python. I understand the basics basics but I'm >>A> been trying to write a simple python code that will let me read input >>A> data (such as mouse movement)

Re: recording input from USB port and write to text file

2009-08-19 Thread Piet van Oostrum
>>>>> Allan (A) wrote: >A> Hi! I'm fairly new to Python. I understand the basics basics but I'm >A> been trying to write a simple python code that will let me read input >A> data (such as mouse movement) from my USB port and write it in a text >

Re: recording input from USB port and write to text file

2009-08-19 Thread Diez B. Roggisch
Allan schrieb: Hi! I'm fairly new to Python. I understand the basics basics but I'm been trying to write a simple python code that will let me read input data (such as mouse movement) from my USB port and write it in a text file and I am so lost. Can anyone help or direct me to some

recording input from USB port and write to text file

2009-08-18 Thread Allan
Hi! I'm fairly new to Python. I understand the basics basics but I'm been trying to write a simple python code that will let me read input data (such as mouse movement) from my USB port and write it in a text file and I am so lost. Can anyone help or direct me to some resources?

Re: usb mass storage device detection

2009-03-31 Thread Tim Golden
prakash jp wrote: Hi all, I am interested in detecting usb mass storage devices, r there any scripts in python to do so. Thanks in advance. What? Detecting their presence in your pocket? :) Which operating system are you using? It tends to make a difference: these things are quite OS

usb mass storage device detection

2009-03-30 Thread prakash jp
Hi all, I am interested in detecting usb mass storage devices, r there any scripts in python to do so. Thanks in advance. Regards Prakash -- http://mail.python.org/mailman/listinfo/python-list

control device via USB or Parallel

2009-03-27 Thread alejandro
Some guy will make switches that can be controlled via USB or parallel, he told me that I can chose which connection I want. So, are there any modules for Python that will allow me to control some switches via USB or parallel? -- http://mail.python.org/mailman/listinfo/python-list

Re: control device via USB or Parallel

2009-03-26 Thread alejandro
> Some guy will make switches that can be controlled via USB or parallel, he > told me that I can chose which connection I want. So, are there any > modules > for Python that will allow me to control some switches via USB or > parallel? For parallel port there is pyparallel, how

Re: control device via USB or Parallel

2009-03-26 Thread miki
On Mar 26, 3:43 pm, "alejandro" wrote: > Some guy will make switches that can be controlled via USB or parallel, he > told me that I can chose which connection I want. So, are there any modules > for Python that will allow me to control some switches via USB or parallel? For

Re: Eject a Removable USB drive

2009-03-10 Thread Mark Hammond
ython.org Subject: Re: Eject a Removable USB drive On Mar 9, 6:08 pm, Mark Hammond wrote: On 10/03/2009 8:20 AM, Rickey, Kyle W wrote: Thanks for the link! That code has got me on the right track. I've almost got it working with one small kink. After the code runs my drive still shows up on

RE: Eject a Removable USB drive

2009-03-10 Thread Rickey, Kyle W
, 2009 6:15 PM To: python-list@python.org Subject: Re: Eject a Removable USB drive On Mar 9, 6:08 pm, Mark Hammond wrote: > On 10/03/2009 8:20 AM, Rickey, Kyle W wrote: > > > Thanks for the link! That code has got me on the right track. I've > > almost got it working with on

Re: Eject a Removable USB drive

2009-03-09 Thread Aaron Brady
On Mar 9, 6:08 pm, Mark Hammond wrote: > On 10/03/2009 8:20 AM, Rickey, Kyle W wrote: > > > Thanks for the link! That code has got me on the right track. I've > > almost got it working with one small kink. > > > After the code runs my drive still shows up on Windows Explorer but as a > > removable

Re: Eject a Removable USB drive

2009-03-09 Thread Mark Hammond
On 10/03/2009 8:20 AM, Rickey, Kyle W wrote: Thanks for the link! That code has got me on the right track. I've almost got it working with one small kink. After the code runs my drive still shows up on Windows Explorer but as a removable drive. If I try to double click on it, it tells me to inse

RE: Eject a Removable USB drive

2009-03-09 Thread Rickey, Kyle W
Behalf Of MRAB Sent: Monday, March 09, 2009 2:10 PM To: python-list@python.org Subject: Re: Eject a Removable USB drive Rickey, Kyle W wrote: > Hello everyone, > > > > I would like to be able to eject a usb drive based on drive letter. I've > done a bit of googling and c

Re: Eject a Removable USB drive

2009-03-09 Thread MRAB
Rickey, Kyle W wrote: Hello everyone, I would like to be able to eject a usb drive based on drive letter. I've done a bit of googling and came across the CM_Request_Device_Eject function on MSDN (http://msdn.microsoft.com/en-us/library/ms790831.aspx) However, I am not quite sur

  1   2   3   >