Skip to content
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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Aditya-PS-05
Copy link
Contributor

closes #6548

Summary

Updated the docs and included the uv run python repl section.

@@ -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`: -->
Copy link
Contributor

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?

Comment on lines 32 to 33
This will open a Python script where you can execute individual Python commands and experiment
interactively with the environment.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.

Copy link
Contributor Author

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.

@lucab lucab added the documentation Improvements or additions to documentation label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clarify that uv run python gets you a REPL
2 participants