- basic review of python dictionaries
- getting, modifying and parsing through csv data
- using weighted percentage to pick a random value
- basic flask app with routes
- template usage with basic jinja and html (render_template)
- use the data from csv (03_occupation)
- contains a data/ templates/ and util/ folders
v1 :
- uses forms in the html template to get user input
- request methods
v2 :
- edits to take into account the POST and GET methods.
- route specifies the type of request it will take
- session usage with secret keys
- a version of logging in methods
- flash usage
- jinja and inheritance {% extends "template.html"%}
- building data bases from python code.
- csv data -> db file
- makefile for db running.
stu_mean.py
- uses 16_csv2db
- looping through the c.execute for SELECT commands
- function for displaying/printing the db
- function for adding to a data base
- function for creating a table
- css three ways:
- in-line: inside the html tags using style tag
- internal : block to detail using style outside the file
- external : blocks to detail using style outside the file
- class usage (div)
v0:
- simple bootstrap
- navbar
- blockquote
- badges
- media objects in text
- containers
v1:
- all of the above +
- bootstrap alerts
Foundation :
- control: buttons
- media objects
- containers: alerts, cards
- nav bar
- urllib.request
- json.loads()
- all the above +
- SpaceX API usage
- NASA API usage
- API list
- 24_rest +
- Top Stories API
- The Cat API
- Google Books API
- lists
- gcd
- fibonacci ... in javascript
- document.getElementByID("id")
- textbox.innerHTML
- .addEventListener(event, fxnName)
- buttons that lead to the three functions of 28_js
- document.getElementsByTagName("li")
- var item = document.createElement("li");
- document.getElementById("fiblist").appendChild(item)