Files
DataLogger-Generic/pickle_mysql_config.py
Patrick McDonagh 5a7d40088c fixed a few typos
2016-04-20 11:48:32 -05:00

12 lines
231 B
Python

import pickle
mysql_cfg = {
'host': '127.0.0.1',
'user': 'website',
'password': 'henrypump',
'database': 'poconsole'
}
with open('mysql_cfg.pickle', 'wb') as pickleconfig:
pickle.dump(mysql_cfg, pickleconfig)