Skip to main content

devcon_win - interact with devcon.exe in NT systems

Project description

devcon_win - to interact with devcon.exe in NT systems using Python

With devcon_win, you can access all functions of devcon.exe. In addition, you can see all available drivers as a function. Originally it was created to simply enable/disable device drivers using python.

See below for more details.

Getting it:

To download devcon_win, either fork its github repo or simply use Pypi via pip.
$ pip install devcon_win

Compatibility:

devcon_win is compatible for both python2 and python3.

Using it:

  1. The devcon.exe present in this rep is for '64 bit windows 10'. If your windows's version is different then download devcon.exe as per requirement.
  2. Move devcon.exe in the current script's directory or any path defined in environment variables say Python27/Scripts.
  3. Install devcon_win from pip.
  4. Use devcon_win_driver.py as a sample to disable webcam or any other driver as per requirement {BE CAREFUL}:
    import devcon_win
    
    # To display status
    print(devcon_win.HP_TrueVision_HD()) 
    # Or
    print(devcon_win.HP_TrueVision_HD('status')) 
    
    # To change status
    print(devcon_win.HP_TrueVision_HD('enable')) # will show options after 'devcon_win.'
    

    P.S: list of examples of devcon commands are present here.

Contact:

  • LinkedIn: https://www.linkedin.com/in/shivanshu26shiv/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for devcon-win, version 0.2.4.1
Filename, size File type Python version Upload date Hashes
Filename, size devcon_win-0.2.4.1.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page