https://github.com/codesmell/python101
Learning Python
https://github.com/codesmell/python101
Last synced: 4 days ago
JSON representation
Learning Python
- Host: GitHub
- URL: https://github.com/codesmell/python101
- Owner: CodeSmell
- Created: 2025-10-16T21:56:02.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-10-16T22:17:37.000Z (8 months ago)
- Last Synced: 2025-10-18T01:50:51.176Z (8 months ago)
- Language: Jupyter Notebook
- Size: 6.84 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python101
The Mac will have a pre-installed system-provided version of Python. This is typically installed in `/usr/bin/python3'.
```shell
which python3
/usr/bin/python3
```
To install a newer version as well as manage several versions it is recommended to use pyenv (a tool to manage Python similar to jenv for Java)
```shell
brew install pyenv
...
pyenv install 3.13.9
pyenv global 3.13.9
pyenv versions
system
* 3.13.9
```
Note: you will need to configure pyenv for your shell
I use fish so from the fish shell run the init command
This will provide a set of instructions to follow including editing the `config.fish` file
```shell
pyenv init
```
You then get the latest version
```shell
python3 --version
Python 3.13.9
```