Skip to content

Developer-DewPool/flasktutorialwithmysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. Create virtualenv <--- recommended

$virtualenv envflask

$envflask\Script\activate

1st step is optional. skip the 1st part if you don't it

  1. install Flask

pip install Flask

3.install python MySql Libraries

pip install mysql-connector-python

pip install mysql-connector

pip install mysqlclient

pip install flask-mysqldb

  1. Run xammp or run MYSQL and create DataBase as well as Table

  2. Create templates folder and create html file inside templates folder

6.create python file with POST and GET functions

  1. Run Python File from termial

python file-name.py

then see the magic of Flask ;)

Guide Reference:

https://www.codementor.io/adityamalviya/python-flask-mysql-connection-rxblpje73

https://dzone.com/articles/flask-101-adding-editing-and-displaying-data

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages