Answer the question
In order to leave comments, you need to log in
How to manage services and Windows Firewall in Python?
Hello, tell me where can I find information on managing windows in python. I heard that there is a pywin32 library, but I can not find normal documentation for this library. Maybe there is something else for these operations? I need to make a few services in automatic mode and restart them, also set the right port on the firewall. Please tell me how to do it?
Answer the question
In order to leave comments, you need to log in
Well, use system () with a call to cmd commands.
Google for "schtask" and call PS code from Python.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question