Python is an interpreted, high-level and general-purpose programming language. Python's design philosophy emphasizes code readability with its notable use of significant whitespace. Its language constructs and object-oriented approach aim to help programmers write clear, logical code for small and large-scale projects.
Python was created in the late 1980s, and first released in 1991, by Guido van Rossum as a successor to the ABC programming language. Python 2.0, released in 2000, introduced new features, such as list comprehensions, and a garbage collection system with reference counting, and was discontinued with version 2.7 in 2020. Python 3.0, released in 2008, was a major revision of the language that is not completely backward-compatible and much Python 2 code does not run unmodified on Python 3.
Jinja Template Designer Documentation "is a modern and designer-friendly templating language for Python, modelled after Django's templates."
Flask is a microframework for Python based on Werkzeug and Jinja2.
- Bootstrap "is a free and open-source CSS framework directed at responsive, mobile-first front-end web development."
- Font Awesome "is a font and icon toolkit based on CSS and Less."
- Anaconda is the birthplace of Python data science.
- Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications.
- Python extension for Visual Studio Code install
- Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and narrative text.
- Clone the repo:
git clone https://github.com/<username>/python-flask-boilerplate.git cd python-flask-boilerplate - Install Virtual Environment:
py -m venv venv/
- For Mac users
source venv/bin/activate
- For Windows users
venv\Scripts\activate.bat
- For Powershell
venv\Scripts\activate.ps1
- Install the dependencies:
pip install -r requirements.txt
- Run the development server:
py app.py
- Navigate to
- http://localhost:5000
- http://127.0.0.1:5000/
- To stop server Press CTRL+C to quit
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
GitHub, Inc. is a subsidiary of Microsoft which provides hosting for software development and version control using Git. It offers the distributed version control and source code management functionality of Git, plus its own features.
- …or create a new repository on the command line
git init
git add .
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/berryny/open_data_python_mta.git
git push -u origin main
- push to repository from the command line
git add .
git commit -m "commit message"
git push -u origin main
Basic writing and formatting syntax
Create sophisticated formatting for your prose and code on GitHub with simple syntax. Learn more
Tools for Technical Writers - A GitHub repository containing lists of suggested tools for technical writers.
