uv/docs
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
..
.overrides Use | for page separator in meta titles (#6953) 2024-09-03 00:42:59 +00:00
assets Add static assets to docs pages (#6951) 2024-09-02 20:00:30 -04:00
concepts Document the --fork-strategy setting (#9887) 2024-12-13 21:35:20 +00:00
configuration Introduce a --fork-strategy preference mode (#9868) 2024-12-13 16:05:07 -05:00
getting-started Bump version to v0.5.9 (#9889) 2024-12-13 17:28:19 -05:00
guides change example so it works as is on powershell and cmd (#9903) 2024-12-15 11:19:44 -06:00
js Add support for anchor redirects with client-side js (#9212) 2024-11-19 22:32:43 -06:00
pip DOC - Fix syntax for local directory installation (#9193) 2024-11-18 08:31:01 -05:00
reference Document the --fork-strategy setting (#9887) 2024-12-13 21:35:20 +00:00
stylesheets Add breadcrumbs to the documentation (#9242) 2024-11-19 22:31:43 -06:00
.gitignore Add structured documentation (#4426) 2024-06-26 11:28:42 -05:00
index.md Remove pypy from top-level pin example (#9896) 2024-12-14 12:00:13 -06:00
requirements-insiders.in Reference the root requirements from the insiders requirements file (#5105) 2024-07-16 09:51:16 -05:00
requirements-insiders.txt Reorganize the project concept documentation (#9121) 2024-11-19 13:52:12 -06:00
requirements.in Reorganize the project concept documentation (#9121) 2024-11-19 13:52:12 -06:00
requirements.txt Reorganize the project concept documentation (#9121) 2024-11-19 13:52:12 -06:00