working version and readme.
This commit is contained in:
@@ -3,15 +3,17 @@ import sys
|
|||||||
import datetime
|
import datetime
|
||||||
import mysql.connector
|
import mysql.connector
|
||||||
|
|
||||||
|
# Version 1.0
|
||||||
|
|
||||||
# Requirements:
|
# Requirements:
|
||||||
# Install python 3.x from https://www.python.org/downloads/
|
# Install python 3.x from https://www.python.org/downloads/
|
||||||
# pip install mysql-connector-python
|
# pip install mysql-connector-python
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
# python foldersToSQL.py
|
# python foldersToSQL.py [optional: path_to_scan]
|
||||||
|
|
||||||
# ================== CONFIGURATION ==================
|
# ================== CONFIGURATION ==================
|
||||||
SCAN_PATH = r"C:\Users\sebastien.plante\Downloads\test folders"
|
SCAN_PATH = r"C:\test folders"
|
||||||
DB_CONFIG = {
|
DB_CONFIG = {
|
||||||
"host": "localhost",
|
"host": "localhost",
|
||||||
"user": "root",
|
"user": "root",
|
||||||
Reference in New Issue
Block a user