Skip to content

Add a "scripting" topic? #188

Open
Open
@PythonCHB

Description

@PythonCHB

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).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions