This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Author: hosjiu | |
Email: hosjiu1702@gmail.com | |
This python script is tested on Python 3.6.10 (on my local machine) | |
but it can still works for another python version >3.6 | |
""" | |
from typing import List | |
from collections import namedtuple |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Author: hosjiu | |
Email: hosjiu1702@gmail.com | |
This python script is tested on Python 3.6.10 (on my local machine) | |
but it can still works for another python version >3.6 | |
""" | |
from typing import List |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//- MYSQL Module | |
try{ | |
var mysql_npm = require('mysql'); | |
}catch(err){ | |
console.log("Cannot find `mysql` module. Is it installed ? Try `npm install mysql` or `npm install`."); | |
} | |
//- Connection configuration | |
var db_config = { | |
host : 'localhost', |