1. Gary Wilson Jr.
  2. python-numberguess



Python Number Guess Implementations

This project contains a couple Python implementations of a number guess application for comparison to other implementations.


  • The cli directory contains a simple command line implementation that can be run like so:

    cd cli
    python guess.py
  • The flask directory contains a Flask implementation that can be run with any WSGI-compatible Python Web server, or with Flask's built-in development server when run directly on the command line:

    cd flask
    python guess.py

    This implementation uses WTForms and Flask-WTF for its form object and integration. Using pip, all required packages can be installed with the following:

    pip install flask wtforms flask-wtf