10000 GitHub - kzidanebot/python-cs50: This is CS50's library for Python.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kzidanebot/python-cs50

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS50 Library for Python

Build Status

Supports Python 2 and Python 3.

Development

Requires Docker Engine.

make bash
make deb # builds .deb

Installation

  1. Download the latest release per https://github.com/cs50/python-cs50/releases
  2. Extract python-cs50-*
  3. cd python-cs50-*
  4. make install

Usage

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();

TODO

  • Add install target to Makefile.
  • Conditionally install for Python 2 and/or Python 3.
  • Add targets for pacman, rpm.
  • Add tests.

About

This is CS50's library for Python.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 94.7%
  • Makefile 5.3%
0