Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 955 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 955 Bytes

Python Examples

Simple Python code examples using Python, Flask and Bootstrap.

The site is viewable here, https://flask-bootstrap.azurewebsites.net.

Flask Quickstart

Here is a quickstart guide for installing Python Flask on Microsoft Windows. The full documentation is here, https://flask.palletsprojects.com/en/2.1.x/installation/#install-flask.

mkdir myproject
cd myproject
py -3 -m venv venv

venv\Scripts\activate

pip install Flask

$env:FLASK_APP = "app"
$env:FLASK_DEBUG = 1
python -m flask run

Generate a list of packages

The command below is useful if you plan to connect your code repository to a Microsoft Azure App Service.

pip freeze --local > requirements.txt

Public APIs

Random Duck API