shloka-gupta / flaskbasic Goto Github PK
View Code? Open in Web Editor NEWthese are VERY basic flask programs
these are VERY basic flask programs
README: ABOUT: These are VERY basic programs of flask that I learnt/am learning from youtube Condintions: 1) pip install flask while running: Step 1: *if on linux- export FLASK_APP=flaskblog.py (flaskblog.py is the program's name,so instead of flaskblog type in your program's name) *if on windows- set FLASK_APP=flaskblog.py Step 2(optional): *set FLASK_DEBUG=1 (this is so that you can just reload the page other than quitting program again and again ) Step 3: * flask run (you'll see 'Running on http://127.0.0.1:5000/' copy the 'http://127.0.0.1:5000/') Step 4: *paste the 'http://127.0.0.1:5000/', as a url in your browser Step 5: *To quit press ctrl+c INDEX: L1- *p1 ->Basic url mapping and returning *p2 -> Adding templates (p2home.html and p2about.html) into the code L2- *p1 -> Adding for loops and if-else in the p1home.html L3- *p1 -> inheriting the templates
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.