Posts: 1,298
Threads: 38
Joined: Sep 2016
Not exactly sure what you are asking. Powershell is a scripting language for Windows and you could run it's commands with the Python 'subprocess' library or there are several library's for Python that allow you to work with the Windows API directly. Perhaps if you gave a few examples of what you are trying to do, you might get a clearer response.
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Posts: 1,298
Threads: 38
Joined: Sep 2016
You could start here:
Pyad, as well as just using you're favorite search engine for "Python and Windows Active Directory"
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Posts: 1,298
Threads: 38
Joined: Sep 2016
I recently read or heard (can't remember, maybe it was on here :-D)
Quote:"With Python, there is a library for everything."
and I am prone to agree with that. My favorite search query "Python3 and
keyword" Â
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Posts: 1,298
Threads: 38
Joined: Sep 2016
(Jul-18-2017, 11:25 PM)wavic Wrote: See Cygwin. It has all you need
I don't see the benefit. As I understand it, the OP's question was Powershell vs Python, not Windows vs Linux.
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition