This is CS50's library for Python.
See the codepip3 install cs50
import cs50
...
f = cs50.get_float();
i = cs50.get_int();
s = cs50.get_string();
In one terminal, execute:
cd python-cs50
docker compose build
docker compose up
In another terminal, execute:
docker exec -it python-cs50 bash -l
And then execute, e.g.:
python tests/sql.py
Overall
Maintained
Code review
PyPI
Latest release
Releases this year
39 followers · starred Apr 2026
This is CS50's library for Python.
See the codepip3 install cs50
import cs50
...
f = cs50.get_float();
i = cs50.get_int();
s = cs50.get_string();
In one terminal, execute:
cd python-cs50
docker compose build
docker compose up
In another terminal, execute:
docker exec -it python-cs50 bash -l
And then execute, e.g.:
python tests/sql.py
Overall
Maintained
Code review
PyPI
Latest release
Releases this year
39 followers · starred Apr 2026