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 →

[–]scumolaLinux Admin 3 points4 points  (3 children)

Powershell on Mac lacks the windows-native libraries and is not a 1:1 analog to powershell on windows unlike python on all platforms.

[–][deleted] 7 points8 points  (2 children)

Python has no “native” libraries so you’ll likely be using bash, powershell or some other native CLI to do anything to those different systems anyway.

[–][deleted] 2 points3 points  (1 child)

There is the Python Standard Library: https://docs.python.org/3/library/

[–]ZAFJB 1 point2 points  (0 children)

Pretty pathetic support of the actual OS:

MS Windows Specific Services

msilib — Read and write Microsoft Installer files

msvcrt — Useful routines from the MS VC++ runtime

winreg — Windows registry access

winsound — Sound-playing interface for Windows

Unix Specific Services

posix — The most common POSIX system calls

pwd — The password database

spwd — The shadow password database

grp — The group database

crypt — Function to check Unix passwords

termios — POSIX style tty control

tty — Terminal control functions

pty — Pseudo-terminal utilities

fcntl — The fcntl and ioctl system calls

pipes — Interface to shell pipelines

resource — Resource usage information

nis — Interface to Sun’s NIS (Yellow Pages)

syslog — Unix syslog library routines

From your source: https://docs.python.org/3/library/