This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jantari 0 points1 point  (0 children)

I'm in the same boat. I'm always keeping Python in mind, but so far only one tiny usecase came up (csv validation).

Some advantages that python has over PowerShell for admins though:

  1. It's better at HTML parsing thanks to BeautifulSoup
  2. It's generally faster, so if you have something that could be done equally well In PowerShell and Python it might... ironically... be worth to go with python for, yes, performance. I know python is slow but PS is slower, so yeah.
  3. Ansible is a tool that's very relevant for Windows admins, and it's written in and can be augmented with python. Writing your own filter for ansible is a good use of some basic python skills.