Python Forum
Get list of Video Device in python on Windows machine
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get list of Video Device in python on Windows machine
#2
Try use
pywin32
if Windows:
import win32com.client

wmi = win32com.client.GetObject ("winmgmts:")
for usb in wmi.InstancesOf ("Win32_USBHub"):
    print usb.DeviceID
More details here: https://stackoverflow.com/questions/8110...-in-python
Reply


Messages In This Thread
RE: Get list of Video Device in python on Windows machine - by Mateusz - Apr-03-2020, 06:57 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Video recording with Raspberry Pi - What´s wrong with my python code? Montezuma1502 3 1,269 Feb-24-2023, 06:14 PM
Last Post: deanhystad
  How to output Python in Spout or any other video sharing network? buzzdarkyear 4 2,178 Jan-11-2022, 11:37 AM
Last Post: buzzdarkyear
  Sending string commands from Python to a bluetooth device Rovelin 13 9,538 Aug-31-2021, 06:40 PM
Last Post: deanhystad
  Python BLE Scanner not detecting device alexanderDennisEnviro500 0 2,017 Aug-01-2021, 02:29 AM
Last Post: alexanderDennisEnviro500
  Real Time Audio Processing with Python Sound-Device not working Slartybartfast 2 4,008 Mar-14-2021, 07:20 PM
Last Post: Slartybartfast
  Need to access Windows Machine or Personal Certificate Store and send to web app seswho 0 1,649 Sep-14-2020, 04:57 PM
Last Post: seswho
  How to get Data-Taken For a Video file using Python ramprasad1211 1 1,914 Apr-28-2020, 08:48 AM
Last Post: ndc85430
  How to check if video has been deleted or removed in youtube using python Prince_Bhatia 14 11,875 Feb-21-2020, 04:33 AM
Last Post: jehoshua
  Want to learn Python compilation and virtual machine IJB 3 2,653 Feb-14-2020, 02:59 PM
Last Post: IJB
  Detecting USB Device Insertion on Windows 10 Atalanttore 0 2,404 Jan-17-2020, 02:46 PM
Last Post: Atalanttore

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020