Urgent.News

What's breaking now, across thousands of outlets.

Tech

[$] Portable Python scripts with dependencies

A basic Python script is portable: it can be copied between machines with little concern about compatibility. A script that depends on third-party packages requires quite a bit more care and consideration, however. In 2023, PEP 723 ("Inline script metadata") introduced a standard for declaring a Python script's dependencies inside the script itself. Several third-party tools can now automatically…

We haven't written up this one. LWN has the full story — the link below goes straight to it.

Read the original at lwn.net →

More in Tech

More from Wednesday 4 November →