Example Python codes that do the processes between MySQL database and Excel spreadsheet files.
- Use MySQLWorkbench and create container
-
Download Python 3 installation file from https://www.python.org/
-
Install pipenv as global package by this command.
pip install pipenv
Note: for macOS with pre-installed Python 2, use pip3 instead of pip or set version. Ex.pip3.9 install pipenv
-
Download this project.
-
Open PyCharm and choose File -> Open... -> Then select project folder
-
ix any warning recommended by PyCharm.
-
Make sure that every project packages is installed, by open PyCharm Terminal and type command.
pipenv install
- Open "import_data.py" or "export_data.py", right click on code area, select Run '{file name}'