From bfe031febf96e13da6579cf6188cdbaf82726928 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Thu, 12 Dec 2024 15:17:08 -0800 Subject: [PATCH] Modify --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index ec5b0eb998..027e556718 100644 --- a/README.md +++ b/README.md @@ -2829,6 +2829,14 @@ goodbye: print(sh.echo("Goodbye from Python!"), end='') ``` +Of course, a shebang also works: + +```just +hello: + #!/usr/bin/env uv run --script + print("Hello from Python!") +``` + ### Script Recipes Recipes with a `[script(COMMAND)]`1.32.0 attribute are run as