UWPCE-PythonCert / PythonCertDevel

Development Repo for the Certificate Program
https://uwpce-pythoncert.github.io/PythonCertDevel/index.html
Other
7 stars 15 forks source link

Add a "scripting" topic? #188

Open PythonCHB opened 5 years ago

PythonCHB commented 5 years ago

One use case for Python is to use it to drive other processes -- essentially a replacement for bash, or zsh, or powershell, or cmd.exe, or ....

Maybe we should cover that?

I've been think we should add this in the past, and others have suggested it, but this note on Python-ideas inspired me to revive the idea. And he's got some nice notes up online:

Nick Timkovich prometheus235@gmail.com wrote:

I actually gave a talk along these lines at the Chicago Python (ChiPy) meetup last week: slides https://docs.google.com/presentation/d/1v5z4f-FQkS-bQYE-Xv5SvA6cyaTiqlxs2w2CI1yZcAU/edit?usp=sharing

Part of the argument was about using pure standard library so a self-contained script/repo could run anywhere Python is in order to (e.g.) bootstrap other testing environments and/or work within restricted ones, just like your average shell script. A gigantic step up from there is using anything not in the stdlib because you may need to copy a bunch of files (venv creation), and download executable things from the Internet (horrific to some).