uv/docs/guides
Jim Kutter e925787da3
change example so it works as is on powershell and cmd (#9903)
<!--
Thank you for contributing to uv! To help us out with reviewing, please
consider the following:

- Does this pull request include a summary of the change? (See below.)
- Does this pull request include a descriptive title?
- Does this pull request include references to any relevant issues?
-->

## Summary

When going through the docs at
https://docs.astral.sh/uv/guides/install-python/#automatic-python-downloads,
when you try to copy and paste the example on Windows, in either
PowerShell or cmd.exe the example won't work.

Inverting the quotes fixes it, and still works on other shells (I only
tried bash under wsl)

## Test Plan

On any windows system, from powershell, running the example yields the
following error:

```
> uv run --python 3.12 python -c 'print("hello world")'
  File "<string>", line 1
    print(hello world)
          ^^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
```

on cmd.exe

```
> uv run --python 3.12 python -c 'print("hello world")'

``` 
(there is no output)

Inverting the quotes on powershell
```
> uv run --python 3.12 python -c "print('hello world')"
hello world
```

on cmd.exe
```
> uv run --python 3.12 python -c "print('hello world')"
hello world


```

<!-- How was it tested? -->
2024-12-15 11:19:44 -06:00
..
integration Bump version to v0.5.9 (#9889) 2024-12-13 17:28:19 -05:00
index.md Move the integration guides into the "Guides" section as a collapsed group (#9245) 2024-11-20 08:50:02 -06:00
install-python.md change example so it works as is on powershell and cmd (#9903) 2024-12-15 11:19:44 -06:00
projects.md Reorganize the project concept documentation (#9121) 2024-11-19 13:52:12 -06:00
publish.md Publish: Support --index <name> (#9694) 2024-12-10 22:17:47 +01:00
scripts.md Reorganize the project concept documentation (#9121) 2024-11-19 13:52:12 -06:00
tools.md Reorganize the project concept documentation (#9121) 2024-11-19 13:52:12 -06:00