[Python] Cygwin Python Script using cygwinreg that can run on the Windows Python

Discussão em 'Python' iniciado por Stack, Fevereiro 25, 2025.

  1. Stack

    Stack Membro Participativo

    Python newbie here.

    I am writing a simple script in Python, using the 2.7.3 distribution from Cygwin. I want to access/modify Windows Registry from this script. I found out that the _winreg module is not available on cygwin python but that an alternative cygwinreg exists.

    The users of this script do not have cygwin python, they have the windows python install. Is it possible to write a python script that would work on both?

    Continue reading...

Compartilhe esta Página