一、创建文件
1 ##-----------------创建数据表--------------------------
2 import configparser
3 config = configparser.ConfigParser()
4
5 config["DEFAULT"] = {
6 'ServerAliveInterval': '45',
7 'Compression': 'yes',
8 'CompressionLevel': '9'
9 }
10
11 config["bitbucket.org"] = {}
12 config["bitbucket.org"]["user"