Supports Python 2 and Python 3.
Requires Docker Engine.
make bash
make deb # builds .deb
- Download the latest release per https://github.com/cs50/python-cs50/releases
- Extract
python-cs50-*
cd python-cs50-*
make install
import cs50
...
c = cs50.get_char();
f = cs50.get_float();
i = cs50.get_int();
l = cs50.get_long(); # Python 2 only
s = cs50.get_string();
- Add install target to Makefile.
- Conditionally install for Python 2 and/or Python 3.
- Add targets for
pacman
,rpm
. - Add tests.