The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
| # import native json library | |
| import json | |
| # pip install mysql-connector-python | |
| import mysql.connector | |
| # define the start of the program | |
| def parseGeojson(): | |
| # Initialize the MySQL DB connection | |
| mydb = mysql.connector.connect( | |
| host="YOUR-SERVER-HERE", |