Skip to content

Commit 6896abf

Browse files
committed
Fix formatting.
1 parent 5fd6f58 commit 6896abf

1 file changed

Lines changed: 12 additions & 19 deletions

File tree

install-python.md

Lines changed: 12 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Installing Python 3
1+
# How to Install Python 3.14 with uv
22

3-
<img src="https://training.talkpython.fm/static/img/cms/nopy-final.jpg" style="border-radius: 10px; display: block;" class="img img-responsive" />
3+
<img src="https://training.talkpython.fm/static/img/cms/python-not-found.webp" style="border-radius: 10px; display: block;" class="img img-responsive" />
44

55
Welcome, soon-to-be Python user! Python is one of the easiest programming languages to learn and grow with. But there can be a bump right at the beginning: **making sure you have Python installed** with a sufficiently new version (3.14 is the current release, and it's what we'll install below).
66

@@ -17,11 +17,9 @@ That's it! Jump to your operating system to get started:
1717

1818
- [**Windows**](#windows)
1919
- [**macOS**](#macos)
20-
- [**Linux**](#linux)
20+
- [**Linux**](#linux)<a id="windows" style="margin-bottom: 10px; display: inline-block;"></a>
2121

22-
<a id="windows" style="margin-bottom: 10px; display: inline-block;"></a>
23-
24-
_________________________
22+
<hr>
2523

2624
## Windows
2725

@@ -68,11 +66,8 @@ Python 3.14.6
6866

6967
If PowerShell says `python` isn't recognized, close and reopen your terminal so it picks up the updated `PATH`, then try again.
7068

71-
**You're all set!** 🎉
72-
73-
<a id="macos" style="margin-bottom: 10px; display: inline-block;"></a>
74-
75-
_________________________
69+
**You're all set!** 🎉<a id="macos" style="margin-bottom: 10px; display: inline-block;"></a>
70+
<hr>
7671

7772
## macOS
7873

@@ -119,10 +114,7 @@ Python 3.14.6
119114

120115
If you get a `command not found` error, close and reopen your terminal so it picks up the updated `PATH`, then try again.
121116

122-
**You're all set!** 🎉
123-
124-
<a id="linux" style="margin-bottom: 10px; display: inline-block;"></a>
125-
117+
**You're all set!** 🎉<a id="linux" style="margin-bottom: 10px; display: inline-block;"></a>
126118
_________________________
127119

128120
## Linux
@@ -171,7 +163,6 @@ Python 3.14.6
171163
If you get a `command not found` error, close and reopen your terminal (or run `source ~/.bashrc` or `source ~/.zshrc`) so it picks up the updated `PATH`, then try again.
172164

173165
**You're all set!** 🎉
174-
175166
_________________________
176167

177168
## Working with Python Projects
@@ -229,7 +220,6 @@ Or add dependencies to a project:
229220
```bash
230221
uv add requests
231222
```
232-
233223
_________________________
234224

235225
## Managing Multiple Python Versions
@@ -259,7 +249,6 @@ Want to move `python` to a different version later? Re-run the install with `--d
259249
```bash
260250
uv python install 3.13 --default
261251
```
262-
263252
_________________________
264253

265254
## Why uv?
@@ -273,11 +262,15 @@ _________________________
273262
- 🖥️ **Cross-platform** - works identically on Windows, macOS, and Linux
274263

275264
One tool. No complexity. Just Python.
276-
277265
_________________________
278266

279267
## Corrections and Improvements
280268

281269
If you find a problem or have a suggestion to make this page better, please open an issue on GitHub. Note that this is not intended for tech support but rather for genuine, broadly applicable improvements to the instructions:
282270

283271
[**https://github.com/talkpython/installing-python**](https://github.com/talkpython/installing-python)
272+
273+
<style>
274+
hr { margin-top: 0px; }
275+
.landing-cms ul,.landing-cms ol { margin-bottom:.5em; }
276+
</style>

0 commit comments

Comments
 (0)