-
Notifications
You must be signed in to change notification settings - Fork 624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added uv run python section #7457
base: main
Are you sure you want to change the base?
added uv run python section #7457
Conversation
docs/guides/scripts.md
Outdated
@@ -11,6 +11,27 @@ environments. | |||
isolate packages required by each script. uv automatically manages virtual environments for you | |||
and prefers a [declarative](#declaring-script-dependencies) approach to dependencies. | |||
|
|||
<!-- ## Running a script | |||
|
|||
To start an interactive Python session where you can run commands and explore your environment, use `uv run python`: --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leftover comment that needs to be removed?
docs/guides/scripts.md
Outdated
This will open a Python script where you can execute individual Python commands and experiment | ||
interactively with the environment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will open a Python script where you can execute individual Python commands and experiment | |
interactively with the environment. | |
This will open a Python session in interactive mode, where you can execute individual Python commands and experiment | |
with the environment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lucab
Thank you for valuable suggestion.
closes #6548
Summary
Updated the docs and included the uv run python repl section.