1
0

完成uv运行python代码的skill

This commit is contained in:
2026-02-04 18:48:19 +08:00
parent 9b7342825b
commit 8ee22c3944
28 changed files with 883 additions and 3697 deletions

View File

@@ -0,0 +1,12 @@
# /// script
# dependencies = []
# ///
import tempfile
temp_dir = tempfile.gettempdir()
temp_file_path = tempfile.NamedTemporaryFile(
mode="w", suffix=".py", prefix="uv_script_", dir=temp_dir, delete=False
).name
print(temp_file_path)