Python GPL-3.0

python-cs50

This is CS50's library for Python.

C

cs50

Dernière activité 5 sept. 2026
cs50/python-cs50

866

étoiles

301

forks

4

issues ouvertes

Ce README est souvent en anglais.

CS50 Library for Python

Installation

pip3 install cs50

Usage

import cs50

...

f = cs50.get_float();
i = cs50.get_int();
s = cs50.get_string();

Testing

  1. In one terminal, execute:

    cd python-cs50
    docker compose build
    docker compose up
    
  2. In another terminal, execute:

    docker exec -it python-cs50 bash -l
    

    And then execute, e.g.:

    python tests/sql.py
    

Projets similaires

This is CS50's Library for C.

Cc
Ccs50
2,2 k étoiles905

The Python programming language

Python
Ppython
77,3 k étoiles36,9 k

Python语言基础50课

Jjackfrued
12,6 k étoiles3 k