随机手机号和身份证号码(python)

时间:2022-01-07 23:56:18

在使用selenium2 python自动化过程中,用户添加的时候程序设置的手机号和身份证号码是唯一的,这方面python代码可以实现,以下是调试成功,可以实现的。

具体代码如下

身份证需要下载districtcode.txt这个文件:http://files.cnblogs.com/files/yicaifeitian/districtcode.rar

idCare.py

# coding=utf-8
import os, sys
import random
from datetime import date, timedelta BASE_DIR = os.path.dirname(os.path.dirname(__file__))
DC_PATH = BASE_DIR + "/pic/districtcode.txt"
print DC_PATH # 随机生成手机号码
def createPhone():
prelist = ["130", "131", "132", "133", "134", "135", "136", "137", "138", "139", "147", "150", "151", "152", "153",
"155", "156", "157", "158", "159", "186", "187", "188"]
return random.choice(prelist) + "".join(random.choice("0123456789") for i in range(8)) # 随机生成身份证号
def getdistrictcode():
# distcode = []
with open(DC_PATH) as file:
data = file.read()
districtlist = data.split('\n') for node in districtlist:
# print node
if node[10:11] != ' ':
state = node[10:].strip()
if node[10:11] == ' ' and node[12:13] != ' ':
city = node[12:].strip()
if node[10:11] == ' ' and node[12:13] == ' ':
district = node[14:].strip()
code = node[0:6]
# 这里注意代码的缩进对齐位置
codelist.append({"state": state, "city": city, "district": district, "code": code}) def gennerator():
global codelist
codelist = []
if not codelist:
getdistrictcode()
id = codelist[random.randint(0, len(codelist))]['code'] # 地区项
id = id + str(random.randint(1930, 2013)) # 年份项
da = date.today() + timedelta(days=random.randint(1, 366)) # 月份和日期项
id = id + da.strftime('%m%d')
id = id + str(random.randint(100, 300)) # ,顺序号简单处理 i = 0
count = 0
weight = [7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2] # 权重项
checkcode = {'0': '1', '1': '0', '2': 'X', '3': '9', '4': '8', '5': '7', '6': '6', '7': '5', '8': '5', '9': '3',
'10': '2'} # 校验码映射
for i in range(0, len(id)):
count = count + int(id[i]) * weight[i]
id = id + checkcode[str(count % 11)] # 算出校验码
return id print createPhone()
print gennerator()

上面代码可以实现随机手机号和身份证号的,上面的身份证的地区码是放在txt文档中读取信息(# 这里注意代码的缩进对齐位置 codelist.append({"state": state, "city": city, "district": district, "code": code})这里要注意代码的缩进,否则会出现state未定义的错误提示);还有一种方法是直接放在python文件中读取地区码信息,代码如下

addr.py

# -*- coding: utf-8 -*-
addr = [(110000, u'北京市'),
(110100, u'市辖区'),
(110101, u'东城区'),
(110102, u'西城区'),
(110103, u'崇文区'),
(110104, u'宣武区'),
(110105, u'朝阳区'),
(110106, u'丰台区'),
(110107, u'石景山区'),
(110108, u'海淀区'),
(110109, u'门头沟区'),
(110111, u'房山区'),
(110112, u'通州区'),
(110113, u'顺义区'),
(110114, u'昌平区'),
(110115, u'大兴区'),
(110116, u'怀柔区'),
(110117, u'平谷区'),
(110200, u'县'),
(110228, u'密云县'),
(110229, u'延庆县'),
(120000, u'天津市'),
(120100, u'市辖区'),
(120101, u'和平区'),
(120102, u'河东区'),
(120103, u'河西区'),
(120104, u'南开区'),
(120105, u'河北区'),
(120106, u'红桥区'),
(120107, u'塘沽区'),
(120108, u'汉沽区'),
(120109, u'大港区'),
(120110, u'东丽区'),
(120111, u'西青区'),
(120112, u'津南区'),
(120113, u'北辰区'),
(120114, u'武清区'),
(120115, u'宝坻区'),
(120200, u'市辖县'),
(120221, u'宁河县'),
(120223, u'静海县'),
(120225, u'蓟县'),
(130000, u'河北省'),
(130100, u'石家庄市'),
(130101, u'市辖区'),
(130102, u'长安区'),
(130103, u'桥东区'),
(130104, u'桥西区'),
(130105, u'新华区'),
(130107, u'井陉矿区'),
(130108, u'裕华区'),
(130121, u'井陉县'),
(130123, u'正定县'),
(130124, u'栾城县'),
(130125, u'行唐县'),
(130126, u'灵寿县'),
(130127, u'高邑县'),
(130128, u'深泽县'),
(130129, u'赞皇县'),
(130130, u'无极县'),
(130131, u'平山县'),
(130132, u'元氏县'),
(130133, u'赵县'),
(130181, u'辛集市'),
(130182, u'藁城市'),
(130183, u'晋州市'),
(130184, u'新乐市'),
(130185, u'鹿泉市'),
(130200, u'唐山市'),
(130201, u'市辖区'),
(130202, u'路南区'),
(130203, u'路北区'),
(130204, u'古冶区'),
(130205, u'开平区'),
(130207, u'丰南区'),
(130208, u'丰润区'),
(130223, u'滦县'),
(130224, u'滦南县'),
(130225, u'乐亭县'),
(130227, u'迁西县'),
(130229, u'玉田县'),
(130230, u'唐海县'),
(130281, u'遵化市'),
(130283, u'迁安市'),
(130300, u'秦皇岛市'),
(130301, u'市辖区'),
(130302, u'海港区'),
(130303, u'山海关区'),
(130304, u'北戴河区'),
(130321, u'青龙满族自治县'),
(130322, u'昌黎县'),
(130323, u'抚宁县'),
(130324, u'卢龙县'),
(130400, u'邯郸市'),
(130401, u'市辖区'),
(130402, u'邯山区'),
(130403, u'丛台区'),
(130404, u'复兴区'),
(130406, u'峰峰矿区'),
(130421, u'邯郸县'),
(130423, u'临漳县'),
(130424, u'成安县'),
(130425, u'大名县'),
(130426, u'涉县'),
(130427, u'磁县'),
(130428, u'肥乡县'),
(130429, u'永年县'),
(130430, u'邱县'),
(130431, u'鸡泽县'),
(130432, u'广平县'),
(130433, u'馆陶县'),
(130434, u'魏县'),
(130435, u'曲周县'),
(130481, u'武安市'),
(130500, u'邢台市'),
(130501, u'市辖区'),
(130502, u'桥东区'),
(130503, u'桥西区'),
(130521, u'邢台县'),
(130522, u'临城县'),
(130523, u'内邱县'),
(130524, u'柏乡县'),
(130525, u'隆尧县'),
(130526, u'任县'),
(130527, u'南和县'),
(130528, u'宁晋县'),
(130529, u'巨鹿县'),
(130530, u'新河县'),
(130531, u'广宗县'),
(130532, u'平乡县'),
(130533, u'威县'),
(130534, u'清河县'),
(130535, u'临西县'),
(130581, u'南宫市'),
(130582, u'沙河市'),
(130600, u'保定市'),
(130601, u'市辖区'),
(130602, u'新市区'),
(130603, u'北市区'),
(130604, u'南市区'),
(130621, u'满城县'),
(130622, u'清苑县'),
(130623, u'涞水县'),
(130624, u'阜平县'),
(130625, u'徐水县'),
(130626, u'定兴县'),
(130627, u'唐县'),
(130628, u'高阳县'),
(130629, u'容城县'),
(130630, u'涞源县'),
(130631, u'望都县'),
(130632, u'安新县'),
(130633, u'易县'),
(130634, u'曲阳县'),
(130635, u'蠡县'),
(130636, u'顺平县'),
(130637, u'博野县'),
(130638, u'雄县'),
(130681, u'涿州市'),
(130682, u'定州市'),
(130683, u'安国市'),
(130684, u'高碑店市'),
(130700, u'张家口市'),
(130701, u'市辖区'),
(130702, u'桥东区'),
(130703, u'桥西区'),
(130705, u'宣化区'),
(130706, u'下花园区'),
(130721, u'宣化县'),
(130722, u'张北县'),
(130723, u'康保县'),
(130724, u'沽源县'),
(130725, u'尚义县'),
(130726, u'蔚县'),
(130727, u'阳原县'),
(130728, u'怀安县'),
(130729, u'万全县'),
(130730, u'怀来县'),
(130731, u'涿鹿县'),
(130732, u'赤城县'),
(130733, u'崇礼县'),
(130800, u'承德市'),
(130801, u'市辖区'),
(130802, u'双桥区'),
(130803, u'双滦区'),
(130804, u'鹰手营子矿区'),
(130821, u'承德县'),
(130822, u'兴隆县'),
(130823, u'平泉县'),
(130824, u'滦平县'),
(130825, u'隆化县'),
(130826, u'丰宁满族自治县'),
(130827, u'宽城满族自治县'),
(130828, u'围场满族蒙古族自治县'),
(130900, u'沧州市'),
(130901, u'市辖区'),
(130902, u'新华区'),
(130903, u'运河区'),
(130921, u'沧县'),
(130922, u'青县'),
(130923, u'东光县'),
(130924, u'海兴县'),
(130925, u'盐山县'),
(130926, u'肃宁县'),
(130927, u'南皮县'),
(130928, u'吴桥县'),
(130929, u'献县'),
(130930, u'孟村回族自治县'),
(130981, u'泊头市'),
(130982, u'任邱市'),
(130983, u'黄骅市'),
(130984, u'河间市'),
(131000, u'廊坊市'),
(131001, u'市辖区'),
(131002, u'安次区'),
(131003, u'广阳区'),
(131022, u'固安县'),
(131023, u'永清县'),
(131024, u'香河县'),
(131025, u'大城县'),
(131026, u'文安县'),
(131028, u'大厂回族自治县'),
(131081, u'霸州市'),
(131082, u'三河市'),
(131100, u'衡水市'),
(131101, u'市辖区'),
(131102, u'桃城区'),
(131121, u'枣强县'),
(131122, u'武邑县'),
(131123, u'武强县'),
(131124, u'饶阳县'),
(131125, u'安平县'),
(131126, u'故城县'),
(131127, u'景县'),
(131128, u'阜城县'),
(131181, u'冀州市'),
(131182, u'深州市'),
(140000, u'山西'),
(140100, u'太原市'),
(140101, u'市辖区'),
(140105, u'小店区(人口含高新经济区)'),
(140106, u'迎泽区'),
(140107, u'杏花岭区'),
(140108, u'尖草坪区'),
(140109, u'万柏林区'),
(140110, u'晋源区'),
(140121, u'清徐县'),
(140122, u'阳曲县'),
(140123, u'娄烦县'),
(140181, u'古交市'),
(140200, u'大同市'),
(140201, u'市辖区'),
(140202, u'大同市城区'),
(140203, u'矿区'),
(140211, u'南郊区'),
(140212, u'新荣区'),
(140221, u'阳高县'),
(140222, u'天镇县'),
(140223, u'广灵县'),
(140224, u'灵丘县'),
(140225, u'浑源县'),
(140226, u'左云县'),
(140227, u'大同县'),
(140300, u'阳泉市'),
(140301, u'市辖区'),
(140302, u'城区'),
(140303, u'矿区'),
(140311, u'郊区'),
(140321, u'平定县'),
(140322, u'盂县'),
(140400, u'长治市'),
(140401, u'市辖区'),
(140402, u'长治市城区'),
(140411, u'长治市郊区'),
(140421, u'长治县'),
(140423, u'襄垣县'),
(140424, u'屯留县'),
(140425, u'平顺县'),
(140426, u'黎城县'),
(140427, u'壶关县'),
(140428, u'长子县'),
(140429, u'武乡县'),
(140430, u'沁县'),
(140431, u'沁源县'),
(140481, u'潞城市'),
(140500, u'晋城市'),
(140501, u'市辖区'),
(140502, u'晋城市城区'),
(140521, u'沁水县'),
(140522, u'阳城县'),
(140524, u'陵川县'),
(140525, u'泽州县'),
(140581, u'高平市'),
(140600, u'朔州市'),
(140601, u'市辖区'),
(140602, u'朔城区'),
(140603, u'平鲁区'),
(140621, u'山阴县'),
(140622, u'应县'),
(140623, u'右玉县'),
(140624, u'怀仁县'),
(140700, u'晋中市'),
(140701, u'市辖区'),
(140702, u'榆次区'),
(140721, u'榆社县'),
(140722, u'左权县'),
(140723, u'和顺县'),
(140724, u'昔阳县'),
(140725, u'寿阳县'),
(140726, u'太谷县'),
(140727, u'祁县'),
(140728, u'平遥县'),
(140729, u'灵石县'),
(140781, u'介休市'),
(140800, u'运城市'),
(140801, u'市辖区'),
(140802, u'盐湖区'),
(140821, u'临猗县'),
(140822, u'万荣县'),
(140823, u'闻喜县'),
(140824, u'稷山县'),
(140825, u'新绛县'),
(140826, u'绛县'),
(140827, u'垣曲县'),
(140828, u'夏县'),
(140829, u'平陆县'),
(140830, u'芮城县'),
(140881, u'永济市'),
(140882, u'河津市'),
(140900, u'忻州市'),
(140901, u'市辖区'),
(140902, u'忻府区'),
(140921, u'定襄县'),
(140922, u'五台县'),
(140923, u'代县'),
(140924, u'繁峙县'),
(140925, u'宁武县'),
(140926, u'静乐县'),
(140927, u'神池县'),
(140928, u'五寨县'),
(140929, u'岢岚县'),
(140930, u'河曲县'),
(140931, u'保德县'),
(140932, u'偏关县'),
(140981, u'原平市'),
(141000, u'临汾市'),
(141001, u'市辖区'),
(141002, u'尧都区'),
(141021, u'曲沃县'),
(141022, u'翼城县'),
(141023, u'襄汾县'),
(141024, u'洪洞县'),
(141025, u'古县'),
(141026, u'安泽县'),
(141027, u'浮山县'),
(141028, u'吉县'),
(141029, u'乡宁县'),
(141030, u'大宁县'),
(141031, u'隰县'),
(141032, u'永和县'),
(141033, u'蒲县'),
(141034, u'汾西县'),
(141081, u'侯马市'),
(141082, u'霍州市'),
(141100, u'吕梁市'),
(141101, u'市辖区'),
(141102, u'离石区'),
(141121, u'文水县'),
(141122, u'交城县'),
(141123, u'兴县'),
(141124, u'临县'),
(141125, u'柳林县'),
(141126, u'石楼县'),
(141127, u'岚县'),
(141128, u'方山县'),
(141129, u'中阳县'),
(141130, u'交口县'),
(141181, u'孝义市'),
(141182, u'汾阳市'),
(150000, u'内蒙古自治区'),
(150100, u'呼和浩特市'),
(150101, u'市辖区'),
(150102, u'新城区'),
(150103, u'回民区'),
(150104, u'玉泉区'),
(150105, u'赛罕区'),
(150121, u'土左旗'),
(150122, u'托克托县'),
(150123, u'和林格尔县'),
(150124, u'清水河县'),
(150125, u'武川县'),
(150200, u'包头市'),
(150201, u'市辖区'),
(150202, u'东河区'),
(150203, u'昆都仑区'),
(150204, u'青山区'),
(150205, u'石拐区'),
(150206, u'白云鄂博矿区'),
(150207, u'九原区'),
(150221, u'土默特右旗'),
(150222, u'固阳县'),
(150223, u'达茂联合旗'),
(150300, u'乌海市'),
(150301, u'乌海市辖区'),
(150302, u'海勃湾区'),
(150303, u'海南区'),
(150304, u'乌达区'),
(150400, u'赤峰市'),
(150401, u'市辖区'),
(150402, u'红山区'),
(150403, u'元宝山区'),
(150404, u'松山区'),
(150421, u'阿鲁科尔沁旗'),
(150422, u'巴林左旗'),
(150423, u'巴林右旗'),
(150424, u'林西县'),
(150425, u'克什克腾旗'),
(150426, u'翁牛特旗'),
(150428, u'喀喇沁旗'),
(150429, u'宁城县'),
(150430, u'敖汉旗'),
(150500, u'通辽市'),
(150501, u'市辖区'),
(150502, u'科尔沁区'),
(150521, u'科尔沁左翼中旗'),
(150522, u'科左后旗'),
(150523, u'开鲁县'),
(150524, u'库伦旗'),
(150525, u'奈曼旗'),
(150526, u'扎鲁特旗'),
(150581, u'霍林郭勒市'),
(150600, u'鄂尔多斯市'),
(150602, u'东胜区'),
(150621, u'达拉特旗'),
(150622, u'准格尔旗'),
(150623, u'鄂托克前旗'),
(150624, u'鄂托克旗'),
(150625, u'杭锦旗'),
(150626, u'乌审旗'),
(150627, u'伊金霍洛旗'),
(150700, u'呼伦贝尔市'),
(150701, u'市辖区'),
(150702, u'海拉尔区'),
(150721, u'阿荣旗'),
(150722, u'莫力达瓦达斡尔族自治旗'),
(150723, u'鄂伦春自治旗'),
(150724, u'鄂温克族自治旗'),
(150725, u'陈巴尔虎旗镇'),
(150726, u'新巴尔虎左旗'),
(150727, u'新巴尔虎右旗'),
(150781, u'满洲里市'),
(150782, u'牙克石市'),
(150783, u'扎兰屯市'),
(150784, u'额尔古纳市'),
(150785, u'根河市'),
(150800, u'巴彦淖尔市'),
(150801, u'市辖区'),
(150802, u'临河区'),
(150821, u'五原县'),
(150822, u'磴口县'),
(150823, u'乌拉特前旗'),
(150824, u'乌拉特中旗'),
(150825, u'乌拉特后旗'),
(150826, u'杭锦后旗'),
(150900, u'乌兰察布市'),
(150901, u'市辖区'),
(150902, u'集宁区'),
(150921, u'卓资县'),
(150922, u'化德县'),
(150923, u'商都县'),
(150924, u'兴和县'),
(150925, u'凉城县'),
(150926, u'察哈尔右翼前旗'),
(150927, u'察右中旗'),
(150928, u'察哈尔右翼后旗'),
(150929, u'四子王旗'),
(150981, u'丰镇市'),
(152200, u'兴安盟'),
(152201, u'乌兰浩特市'),
(152202, u'阿尔山市'),
(152221, u'科右前旗'),
(152222, u'科右中旗'),
(152223, u'扎赉特旗'),
(152224, u'突泉县'),
(152500, u'锡林郭勒盟'),
(152501, u'二连浩特市'),
(152502, u'锡林浩特市'),
(152522, u'阿巴嘎旗'),
(152523, u'苏尼特左旗'),
(152524, u'苏尼特右旗'),
(152525, u'东乌珠穆沁旗'),
(152526, u'西乌珠穆沁旗'),
(152527, u'太仆寺旗'),
(152528, u'镶黄旗'),
(152529, u'正镶白旗'),
(152530, u'正蓝旗'),
(152531, u'多伦县'),
(152900, u'阿拉善盟'),
(152921, u'阿拉善左旗'),
(152922, u'阿拉善右旗'),
(152923, u'额济纳旗'),
(210000, u'辽宁省'),
(210100, u'沈阳市'),
(210101, u'市辖区'),
(210102, u'和平区'),
(210103, u'沈河区'),
(210104, u'大东区'),
(210105, u'皇姑区'),
(210106, u'铁西区'),
(210111, u'苏家屯区'),
(210112, u'东陵区'),
(210113, u'新城子区'),
(210114, u'于洪区'),
(210122, u'辽中县'),
(210123, u'康平县'),
(210124, u'法库县'),
(210181, u'新民市'),
(210200, u'大连市'),
(210201, u'市辖区'),
(210202, u'中山区'),
(210203, u'西岗区'),
(210204, u'沙河口区'),
(210211, u'甘井子区'),
(210212, u'旅顺口区'),
(210213, u'金州区'),
(210224, u'长海县'),
(210281, u'瓦房店市'),
(210282, u'普兰店市'),
(210283, u'庄河市'),
(210300, u'鞍山市'),
(210301, u'市辖区'),
(210302, u'铁东区'),
(210303, u'铁西区'),
(210304, u'立山区'),
(210311, u'千山区'),
(210321, u'台安县'),
(210323, u'岫岩县'),
(210381, u'海城市'),
(210400, u'抚顺市'),
(210401, u'市辖区'),
(210402, u'新抚区'),
(210403, u'东洲区'),
(210404, u'望花区'),
(210411, u'顺城区'),
(210421, u'抚顺县'),
(210422, u'新宾满族自治县'),
(210423, u'清原满族自治县'),
(210500, u'本溪市'),
(210501, u'市辖区'),
(210502, u'平山区'),
(210503, u'溪湖区'),
(210504, u'明山区'),
(210505, u'南芬区'),
(210521, u'本溪满族自治县'),
(210522, u'桓仁满族自治县'),
(210600, u'丹东市'),
(210601, u'市辖区'),
(210602, u'元宝区'),
(210603, u'振兴区'),
(210604, u'振安区'),
(210624, u'宽甸满族自治县'),
(210681, u'东港市'),
(210682, u'凤城市'),
(210700, u'锦州市'),
(210701, u'市辖区'),
(210702, u'古塔区'),
(210703, u'凌河区'),
(210711, u'太和区'),
(210726, u'黑山县'),
(210727, u'义县'),
(210781, u'凌海市'),
(210782, u'北镇市'),
(210800, u'营口市'),
(210801, u'市辖区'),
(210802, u'站前区'),
(210803, u'西市区'),
(210804, u'鲅鱼圈区'),
(210811, u'老边区'),
(210881, u'盖州市'),
(210882, u'大石桥市'),
(210900, u'阜新市'),
(210901, u'市辖区'),
(210902, u'海州区'),
(210903, u'新邱区'),
(210904, u'太平区'),
(210905, u'清河门区'),
(210911, u'细河区'),
(210921, u'阜新蒙古族自治县'),
(210922, u'彰武县'),
(211000, u'辽阳市'),
(211001, u'市辖区'),
(211002, u'白塔区'),
(211003, u'文圣区'),
(211004, u'宏伟区'),
(211005, u'弓长岭区'),
(211011, u'太子河区'),
(211021, u'辽阳县'),
(211081, u'灯塔市'),
(211100, u'盘锦市'),
(211101, u'市辖区'),
(211102, u'双台子区'),
(211103, u'兴隆台区'),
(211121, u'大洼县'),
(211122, u'盘山县'),
(211200, u'铁岭市'),
(211201, u'市辖区'),
(211202, u'银州区'),
(211204, u'清河区'),
(211221, u'铁岭县'),
(211223, u'西丰县'),
(211224, u'昌图县'),
(211281, u'调兵山市'),
(211282, u'开原市'),
(211300, u'朝阳市'),
(211301, u'市辖区'),
(211302, u'双塔区'),
(211303, u'龙城区'),
(211321, u'朝阳县'),
(211322, u'建平县'),
(211324, u'喀喇沁左翼蒙古族自治县'),
(211381, u'北票市'),
(211382, u'凌源市'),
(211400, u'葫芦岛市'),
(211401, u'市辖区'),
(211402, u'连山区'),
(211403, u'龙港区'),
(211404, u'南票区'),
(211421, u'绥中县'),
(211422, u'建昌县'),
(211481, u'兴城市'),
(220000, u'吉林省'),
(220100, u'长春市'),
(220101, u'长春市辖区'),
(220102, u'南关区'),
(220103, u'宽城区'),
(220104, u'朝阳区'),
(220105, u'二道区'),
(220106, u'绿园区'),
(220112, u'双阳区'),
(220122, u'农安县'),
(220181, u'九台市'),
(220182, u'榆树市'),
(220183, u'德惠市'),
(220200, u'吉林市'),
(220201, u'吉林市辖区'),
(220202, u'昌邑区'),
(220203, u'龙潭区'),
(220204, u'船营区'),
(220211, u'丰满区'),
(220221, u'永吉县'),
(220281, u'蛟河市'),
(220282, u'桦甸市'),
(220283, u'舒兰市'),
(220284, u'磐石市'),
(220300, u'四平市'),
(220301, u'四平市辖区'),
(220302, u'铁西区'),
(220303, u'铁东区'),
(220322, u'梨树县'),
(220323, u'伊通满族自治县'),
(220381, u'公主岭市'),
(220382, u'双辽市'),
(220400, u'辽源市'),
(220401, u'辽源市辖区'),
(220402, u'龙山区'),
(220403, u'西安区'),
(220421, u'东丰县'),
(220422, u'东辽县'),
(220500, u'通化市'),
(220501, u'通化市辖区'),
(220502, u'东昌区'),
(220503, u'二道江区'),
(220521, u'通化县'),
(220523, u'辉南县'),
(220524, u'柳河县'),
(220581, u'梅河口市'),
(220582, u'集安市'),
(220600, u'白山市'),
(220601, u'白山市辖区'),
(220602, u'八道江区'),
(220604, u'江源区'),
(220621, u'抚松县'),
(220622, u'靖宇县'),
(220623, u'长白朝鲜族自治县'),
(220681, u'临江市'),
(220700, u'*市'),
(220701, u'*市辖区'),
(220702, u'宁江区'),
(220721, u'前郭尔罗斯蒙古族自治县'),
(220722, u'长岭县'),
(220723, u'乾安县'),
(220724, u'扶余县'),
(220800, u'白城市'),
(220801, u'白城市辖区'),
(220802, u'洮北区'),
(220821, u'镇赉县'),
(220822, u'通榆县'),
(220881, u'洮南市'),
(220882, u'大安市'),
(222400, u'延边朝鲜族自治州'),
(222401, u'延吉市'),
(222402, u'图们市'),
(222403, u'敦化市'),
(222404, u'珲春市'),
(222405, u'龙井市'),
(222406, u'和龙市'),
(222424, u'汪清县'),
(222426, u'安图县'),
(230000, u'黑龙江省'),
(230100, u'哈尔滨市'),
(230101, u'市辖区'),
(230102, u'道里区'),
(230103, u'南岗区'),
(230104, u'道外区'),
(230108, u'平房区'),
(230109, u'松北区'),
(230110, u'香坊区'),
(230111, u'呼兰区'),
(230112, u'阿城区'),
(230123, u'依兰县'),
(230124, u'方正县'),
(230125, u'宾县'),
(230126, u'巴彦县'),
(230127, u'木兰县'),
(230128, u'通河县'),
(230129, u'延寿县'),
(230182, u'双城市'),
(230183, u'尚志市'),
(230184, u'五常市'),
(230200, u'齐齐哈尔市'),
(230201, u'市辖区'),
(230202, u'龙沙区'),
(230203, u'建华区'),
(230204, u'铁锋区'),
(230205, u'昂昂溪区'),
(230206, u'富拉尔基区'),
(230207, u'碾子山区'),
(230208, u'梅里斯达斡尔族区'),
(230221, u'龙江县'),
(230223, u'依安县'),
(230224, u'泰来县'),
(230225, u'甘南县'),
(230227, u'富裕县'),
(230229, u'克山县'),
(230230, u'克东县'),
(230231, u'拜泉县'),
(230281, u'讷河市'),
(230300, u'鸡西市'),
(230301, u'市辖区'),
(230302, u'鸡冠区'),
(230303, u'恒山区'),
(230304, u'滴道区'),
(230305, u'梨树区'),
(230306, u'城子河区'),
(230307, u'麻山区'),
(230321, u'鸡东县'),
(230381, u'虎林市'),
(230382, u'密山市'),
(230400, u'鹤岗市'),
(230401, u'市辖区'),
(230402, u'向阳区'),
(230403, u'工农区'),
(230404, u'南山区'),
(230405, u'兴安区'),
(230406, u'东山区'),
(230407, u'兴山区'),
(230421, u'萝北县'),
(230422, u'绥滨县'),
(230500, u'双鸭山市'),
(230501, u'市辖区'),
(230502, u'尖山区'),
(230503, u'岭东区'),
(230505, u'四方台区'),
(230506, u'宝山区'),
(230521, u'集贤县'),
(230522, u'友谊县'),
(230523, u'宝清县'),
(230524, u'饶河县'),
(230600, u'大庆市'),
(230601, u'市辖区'),
(230602, u'萨尔图区'),
(230603, u'龙凤区'),
(230604, u'让胡路区'),
(230605, u'红岗区'),
(230606, u'大同区'),
(230621, u'肇州县'),
(230622, u'肇源县'),
(230623, u'林甸县'),
(230624, u'杜尔伯特县'),
(230700, u'伊春市'),
(230701, u'市辖区'),
(230702, u'伊春区'),
(230703, u'南岔区'),
(230704, u'友好区'),
(230705, u'西林区'),
(230706, u'翠峦区'),
(230707, u'新青区'),
(230708, u'美溪区'),
(230709, u'金山屯区'),
(230710, u'五营区'),
(230711, u'乌马河区'),
(230712, u'汤旺河区'),
(230713, u'带岭区'),
(230714, u'乌伊岭区'),
(230715, u'红星区'),
(230716, u'上甘岭区'),
(230722, u'嘉荫县'),
(230781, u'铁力市'),
(230800, u'佳木斯市'),
(230801, u'市辖区'),
(230803, u'向阳区'),
(230804, u'前进区'),
(230805, u'东风区'),
(230811, u'郊区'),
(230822, u'桦南县'),
(230826, u'桦川县'),
(230828, u'汤原县'),
(230833, u'抚远县'),
(230881, u'同江市'),
(230882, u'富锦市'),
(230900, u'七台河市'),
(230901, u'市辖区'),
(230902, u'新兴区'),
(230903, u'桃山区'),
(230904, u'茄子河区'),
(230921, u'勃利县'),
(231000, u'牡丹江市'),
(231001, u'市辖区'),
(231002, u'东安区'),
(231003, u'阳明区'),
(231004, u'爱民区'),
(231005, u'西安区'),
(231024, u'东宁县'),
(231025, u'林口县'),
(231081, u'绥芬河市'),
(231083, u'海林市'),
(231084, u'宁安市'),
(231085, u'穆棱市'),
(231100, u'黑河市'),
(231101, u'市辖区'),
(231102, u'爱辉区'),
(231121, u'嫩江县'),
(231123, u'逊克县'),
(231124, u'孙吴县'),
(231181, u'北安市'),
(231182, u'五大连池市'),
(231200, u'绥化市'),
(231201, u'市辖区'),
(231202, u'北林区'),
(231221, u'望奎县'),
(231222, u'兰西县'),
(231223, u'青冈县'),
(231224, u'庆安县'),
(231225, u'明水县'),
(231226, u'绥棱县'),
(231281, u'安达市'),
(231282, u'肇东市'),
(231283, u'海伦市'),
(232700, u'大兴安岭地区'),
(232701, u'加格达奇区'),
(232702, u'松岭区'),
(232703, u'新林区'),
(232704, u'呼中区'),
(232721, u'呼玛县'),
(232722, u'塔河县'),
(232723, u'漠河县'),
(310000, u'上海市'),
(310100, u'市辖区'),
(310101, u'黄浦区'),
(310103, u'卢湾区'),
(310104, u'徐汇区'),
(310105, u'长宁区'),
(310106, u'静安区'),
(310107, u'普陀区'),
(310108, u'闸北区'),
(310109, u'虹口区'),
(310110, u'杨浦区'),
(310112, u'闵行区'),
(310113, u'宝山区'),
(310114, u'嘉定区'),
(310115, u'浦东新区'),
(310116, u'金山区'),
(310117, u'松江区'),
(310118, u'青浦区'),
(310119, u'南汇区'),
(310120, u'奉贤区'),
(310200, u'县'),
(310230, u'崇明县'),
(320000, u'江苏省'),
(320100, u'南京市'),
(320101, u'市辖区'),
(320102, u'玄武区'),
(320103, u'白下区'),
(320104, u'秦淮区'),
(320105, u'建邺区'),
(320106, u'鼓楼区'),
(320107, u'下关区'),
(320111, u'浦口区'),
(320113, u'栖霞区'),
(320114, u'雨花台区'),
(320115, u'江宁区'),
(320116, u'六合区'),
(320124, u'溧水县'),
(320125, u'高淳县'),
(320200, u'无锡市'),
(320201, u'市辖区'),
(320202, u'崇安区'),
(320203, u'南长区'),
(320204, u'北塘区'),
(320205, u'锡山区'),
(320206, u'惠山区'),
(320211, u'滨湖区'),
(320281, u'江阴市'),
(320282, u'宜兴市'),
(320300, u'徐州市'),
(320301, u'市辖区'),
(320302, u'鼓楼区'),
(320303, u'云龙区'),
(320304, u'九里区'),
(320305, u'贾汪区'),
(320311, u'泉山区'),
(320321, u'丰县'),
(320322, u'沛县'),
(320323, u'铜山县'),
(320324, u'睢宁县'),
(320381, u'新沂市'),
(320382, u'邳州市'),
(320400, u'常州市'),
(320401, u'常州市区'),
(320402, u'天宁区'),
(320404, u'钟楼区'),
(320405, u'戚墅堰区'),
(320411, u'新北区'),
(320412, u'武进区'),
(320481, u'溧阳市'),
(320482, u'金坛市'),
(320500, u'苏州市'),
(320501, u'市辖区'),
(320502, u'沧浪区'),
(320503, u'平江区'),
(320504, u'金阊区'),
(320505, u'苏州高新区虎丘区'),
(320506, u'吴中区'),
(320507, u'相城区'),
(320581, u'常熟市'),
(320582, u'张家港市'),
(320583, u'昆山市'),
(320584, u'吴江市'),
(320585, u'太仓市'),
(320600, u'南通市'),
(320601, u'市辖区'),
(320602, u'崇川区'),
(320611, u'港闸区'),
(320621, u'海安县'),
(320623, u'如东'),
(320681, u'启东市'),
(320682, u'如皋市'),
(320683, u'通州市'),
(320684, u'海门市'),
(320700, u'连云港市'),
(320701, u'市辖区'),
(320703, u'连云区'),
(320705, u'新浦区'),
(320706, u'海州区'),
(320721, u'赣榆县'),
(320722, u'东海县'),
(320723, u'灌云县'),
(320724, u'灌南县'),
(320800, u'淮安市'),
(320801, u'市辖区'),
(320802, u'清河区'),
(320803, u'楚州区'),
(320804, u'淮阴区'),
(320811, u'清浦区'),
(320826, u'涟水县'),
(320829, u'洪泽县'),
(320830, u'盱眙县'),
(320831, u'金湖县'),
(320900, u'盐城市'),
(320901, u'市辖区'),
(320902, u'亭湖区'),
(320903, u'盐都区'),
(320921, u'响水县'),
(320922, u'滨海县'),
(320923, u'阜宁县'),
(320924, u'射阳县'),
(320925, u'建湖县'),
(320981, u'东台市'),
(320982, u'大丰市'),
(321000, u'扬州市'),
(321001, u'市辖区'),
(321002, u'广陵区'),
(321003, u'邗江区'),
(321011, u'维扬区'),
(321023, u'宝应县'),
(321081, u'仪征市'),
(321084, u'高邮市'),
(321088, u'江都市'),
(321100, u'镇江市'),
(321101, u'市区'),
(321102, u'京口区'),
(321111, u'润州区'),
(321112, u'丹徒区'),
(321181, u'丹阳市'),
(321182, u'扬中市'),
(321183, u'句容市'),
(321200, u'泰州市'),
(321201, u'市辖区'),
(321202, u'海陵区'),
(321203, u'高港区'),
(321281, u'兴化市'),
(321282, u'靖江市'),
(321283, u'泰兴市'),
(321284, u'姜堰市'),
(321300, u'宿迁市'),
(321301, u'市辖区'),
(321302, u'宿城区'),
(321311, u'宿豫区'),
(321322, u'沭阳县'),
(321323, u'泗阳县'),
(321324, u'泗洪县'),
(330000, u'浙江省'),
(330100, u'杭州市'),
(330101, u'市辖区'),
(330102, u'上城区'),
(330103, u'下城区'),
(330104, u'江干区'),
(330105, u'拱墅区'),
(330106, u'西湖区'),
(330108, u'滨江区'),
(330109, u'萧山区'),
(330110, u'余杭区'),
(330122, u'桐庐县'),
(330127, u'淳安县'),
(330182, u'建德市'),
(330183, u'富阳市'),
(330185, u'临安市'),
(330200, u'宁波市'),
(330201, u'市辖区'),
(330203, u'海曙区'),
(330204, u'江东区'),
(330205, u'江北区'),
(330206, u'北仑区'),
(330211, u'镇海区'),
(330212, u'鄞州区'),
(330225, u'象山县'),
(330226, u'宁海县'),
(330281, u'余姚市'),
(330282, u'慈溪市'),
(330283, u'奉化市'),
(330300, u'温州市'),
(330301, u'市辖区'),
(330302, u'鹿城区'),
(330303, u'龙湾区'),
(330304, u'瓯海区'),
(330322, u'洞头县'),
(330324, u'永嘉县'),
(330326, u'平阳县'),
(330327, u'苍南县'),
(330328, u'文成县'),
(330329, u'泰顺县'),
(330381, u'瑞安市'),
(330382, u'乐清市'),
(330400, u'嘉兴市'),
(330401, u'市辖区'),
(330402, u'南湖区'),
(330411, u'秀洲区'),
(330421, u'嘉善县'),
(330424, u'海盐县'),
(330481, u'海宁市'),
(330482, u'平湖市'),
(330483, u'桐乡市'),
(330500, u'湖州市'),
(330501, u'市辖区'),
(330502, u'吴兴区'),
(330503, u'南浔区'),
(330521, u'德清县'),
(330522, u'长兴县'),
(330523, u'安吉县'),
(330600, u'绍兴市'),
(330601, u'市辖区'),
(330602, u'越城区'),
(330621, u'绍兴县'),
(330624, u'新昌县'),
(330681, u'诸暨市'),
(330682, u'上虞市'),
(330683, u'嵊州市'),
(330700, u'金华市'),
(330701, u'市辖区'),
(330702, u'婺城区'),
(330703, u'金东区'),
(330723, u'武义县'),
(330726, u'浦江县'),
(330727, u'磐安县'),
(330781, u'兰溪市'),
(330782, u'义乌市'),
(330783, u'东阳市'),
(330784, u'永康市'),
(330800, u'衢州市'),
(330801, u'市辖区'),
(330802, u'柯城区'),
(330803, u'衢江区'),
(330822, u'常山县'),
(330824, u'开化县'),
(330825, u'龙游县'),
(330881, u'*市'),
(330900, u'舟山市'),
(330901, u'市辖区'),
(330902, u'定海区'),
(330903, u'普陀区'),
(330921, u'岱山县'),
(330922, u'嵊泗县'),
(331000, u'台州市'),
(331001, u'市辖区'),
(331002, u'椒江区'),
(331003, u'黄岩区'),
(331004, u'路桥区'),
(331021, u'玉环县'),
(331022, u'三门县'),
(331023, u'天台县'),
(331024, u'仙居县'),
(331081, u'温岭市'),
(331082, u'临海市'),
(331100, u'丽水市'),
(331101, u'市辖区'),
(331102, u'莲都区'),
(331121, u'青田县'),
(331122, u'缙云县'),
(331123, u'遂昌县'),
(331124, u'松阳县'),
(331125, u'云和县'),
(331126, u'庆元县'),
(331127, u'景宁畲族自治县'),
(331181, u'龙泉市'),
(340000, u'安徽省'),
(340100, u'合肥市'),
(340101, u'市辖区'),
(340102, u'瑶海区'),
(340103, u'庐阳区'),
(340104, u'蜀山区'),
(340111, u'包河区'),
(340121, u'长丰县'),
(340122, u'肥东县'),
(340123, u'肥西县'),
(340200, u'芜湖市'),
(340201, u'市辖区'),
(340202, u'镜湖区'),
(340203, u'弋江区'),
(340207, u'鸠江区'),
(340208, u'三山区'),
(340221, u'芜湖县'),
(340222, u'繁昌县'),
(340223, u'南陵县'),
(340300, u'蚌埠市'),
(340301, u'市辖区'),
(340302, u'龙子湖区'),
(340303, u'蚌山区'),
(340304, u'禹会区'),
(340311, u'淮上区'),
(340321, u'怀远县'),
(340322, u'五河县'),
(340323, u'固镇县'),
(340400, u'淮南市'),
(340401, u'市辖区'),
(340402, u'大通区'),
(340403, u'田家庵区'),
(340404, u'谢家集区'),
(340405, u'八公山区'),
(340406, u'潘集区'),
(340421, u'凤台县'),
(340500, u'马鞍山市'),
(340501, u'市辖区'),
(340502, u'金家庄区'),
(340503, u'花山区'),
(340504, u'雨山区'),
(340521, u'当涂县'),
(340600, u'淮北市'),
(340601, u'市辖区'),
(340602, u'杜集区'),
(340603, u'相山区'),
(340604, u'烈山区'),
(340621, u'濉溪县'),
(340700, u'铜陵市'),
(340701, u'市辖区'),
(340702, u'铜官山区'),
(340703, u'狮子山区'),
(340711, u'铜陵市郊区'),
(340721, u'铜陵县'),
(340800, u'安庆市'),
(340801, u'市辖区'),
(340802, u'迎江区'),
(340803, u'大观区'),
(340811, u'宜秀区'),
(340822, u'怀宁县'),
(340823, u'枞阳县'),
(340824, u'潜山县'),
(340825, u'太湖县'),
(340826, u'宿松县'),
(340827, u'望江县'),
(340828, u'岳西县'),
(340881, u'桐城市'),
(341000, u'黄山市'),
(341001, u'市辖区'),
(341002, u'屯溪区'),
(341003, u'黄山区'),
(341004, u'徽州区'),
(341021, u'歙县'),
(341022, u'休宁县'),
(341023, u'黟县'),
(341024, u'祁门县'),
(341100, u'滁州市'),
(341101, u'市辖区'),
(341102, u'琅琊区'),
(341103, u'南谯区'),
(341122, u'来安县'),
(341124, u'全椒县'),
(341125, u'定远县'),
(341126, u'凤阳县'),
(341181, u'天长市'),
(341182, u'明光市'),
(341200, u'阜阳市'),
(341201, u'市辖区'),
(341202, u'颍州区'),
(341203, u'颍东区'),
(341204, u'颍泉区'),
(341221, u'临泉县'),
(341222, u'太和县'),
(341225, u'阜南县'),
(341226, u'颍上县'),
(341282, u'界首市'),
(341300, u'宿州市'),
(341301, u'市辖区'),
(341302, u'墉桥区'),
(341321, u'砀山县'),
(341322, u'萧县'),
(341323, u'灵璧县'),
(341324, u'泗县'),
(341400, u'巢湖市'),
(341401, u'市辖区'),
(341402, u'居巢区'),
(341421, u'庐江县'),
(341422, u'无为县'),
(341423, u'含山县'),
(341424, u'和县'),
(341500, u'六安市'),
(341501, u'市辖区'),
(341502, u'金安区'),
(341503, u'裕安区'),
(341521, u'寿县'),
(341522, u'霍邱县'),
(341523, u'舒城县'),
(341524, u'金寨县'),
(341525, u'霍山县'),
(341600, u'亳州市'),
(341601, u'市辖区'),
(341602, u'谯城区'),
(341621, u'涡阳县'),
(341622, u'蒙城县'),
(341623, u'利辛县'),
(341700, u'池州市'),
(341701, u'市辖区'),
(341702, u'贵池区'),
(341721, u'东至县'),
(341722, u'石台县'),
(341723, u'青阳县'),
(341800, u'宣城市'),
(341801, u'市辖区'),
(341802, u'宣州区'),
(341821, u'郎溪县'),
(341822, u'广德县'),
(341823, u'泾县'),
(341824, u'绩溪县'),
(341825, u'旌德县'),
(341881, u'宁国市'),
(350000, u'福建省'),
(350100, u'福州市'),
(350101, u'市辖区'),
(350102, u'鼓楼区'),
(350103, u'台江区'),
(350104, u'仓山区'),
(350105, u'马尾区'),
(350111, u'晋安区'),
(350121, u'闽侯县'),
(350122, u'连江县'),
(350123, u'罗源县'),
(350124, u'闽清县'),
(350125, u'永泰县'),
(350128, u'平潭县'),
(350181, u'福清市'),
(350182, u'长乐市'),
(350200, u'厦门市'),
(350201, u'市辖区'),
(350203, u'思明区'),
(350205, u'海沧区'),
(350206, u'湖里区'),
(350211, u'集美区'),
(350212, u'同安区'),
(350213, u'翔安区'),
(350300, u'莆田市'),
(350301, u'市辖区'),
(350302, u'城厢区'),
(350303, u'涵江区'),
(350304, u'荔城区'),
(350305, u'秀屿区'),
(350322, u'仙游县'),
(350400, u'三明市'),
(350401, u'市辖区'),
(350402, u'梅列区'),
(350403, u'三元区'),
(350421, u'明溪县'),
(350423, u'清流县'),
(350424, u'宁化县'),
(350425, u'大田县'),
(350426, u'尤溪县'),
(350427, u'沙县'),
(350428, u'将乐县'),
(350429, u'泰宁县'),
(350430, u'建宁县'),
(350481, u'永安市'),
(350500, u'泉州市'),
(350501, u'市辖区'),
(350502, u'鲤城区'),
(350503, u'丰泽区'),
(350504, u'洛江区'),
(350505, u'泉港区'),
(350521, u'惠安县'),
(350524, u'安溪县'),
(350525, u'永春县'),
(350526, u'德化县'),
(350527, u'金门县'),
(350581, u'石狮市'),
(350582, u'晋江市'),
(350583, u'南安市'),
(350600, u'漳州市'),
(350601, u'市辖区'),
(350602, u'芗城区'),
(350603, u'龙文区'),
(350622, u'云霄县'),
(350623, u'漳浦县'),
(350624, u'诏安县'),
(350625, u'长泰县'),
(350626, u'东山县'),
(350627, u'南靖县'),
(350628, u'平和县'),
(350629, u'华安县'),
(350681, u'龙海市'),
(350700, u'南平市'),
(350701, u'市辖区'),
(350702, u'延平区'),
(350721, u'顺昌县'),
(350722, u'浦城县'),
(350723, u'光泽县'),
(350724, u'松溪县'),
(350725, u'政和县'),
(350781, u'邵武市'),
(350782, u'武夷山市'),
(350783, u'建瓯市'),
(350784, u'建阳市'),
(350800, u'龙岩市'),
(350801, u'市辖区'),
(350802, u'新罗区'),
(350821, u'长汀县'),
(350822, u'永定县'),
(350823, u'上杭县'),
(350824, u'武平县'),
(350825, u'连城县'),
(350881, u'漳平市'),
(350900, u'宁德市'),
(350901, u'市辖区'),
(350902, u'蕉城区'),
(350921, u'霞浦县'),
(350922, u'古田县'),
(350923, u'屏南县'),
(350924, u'寿宁县'),
(350925, u'周宁县'),
(350926, u'柘荣县'),
(350981, u'福安市'),
(350982, u'福鼎市'),
(360000, u'江西省'),
(360100, u'南昌市'),
(360101, u'市辖区'),
(360102, u'东湖区'),
(360103, u'西湖区'),
(360104, u'青云谱区'),
(360105, u'湾里区'),
(360111, u'青山湖区'),
(360121, u'南昌县'),
(360122, u'新建县'),
(360123, u'安义县'),
(360124, u'进贤县'),
(360200, u'景德镇市'),
(360201, u'市辖区'),
(360202, u'昌江区'),
(360203, u'珠山区'),
(360222, u'浮梁县'),
(360281, u'乐平市'),
(360300, u'萍乡市'),
(360301, u'市辖区'),
(360302, u'安源区'),
(360313, u'湘东区'),
(360321, u'莲花县'),
(360322, u'上栗县'),
(360323, u'芦溪县'),
(360400, u'九江市'),
(360401, u'市辖区'),
(360402, u'庐山区'),
(360403, u'浔阳区'),
(360421, u'九江县'),
(360423, u'武宁县'),
(360424, u'修水县'),
(360425, u'永修县'),
(360426, u'德安县'),
(360427, u'星子县'),
(360428, u'都昌县'),
(360429, u'湖口县'),
(360430, u'彭泽县'),
(360481, u'瑞昌市'),
(360500, u'新余市'),
(360501, u'市辖区'),
(360502, u'渝水区'),
(360521, u'分宜县'),
(360600, u'鹰潭市'),
(360601, u'市辖区'),
(360602, u'月湖区'),
(360622, u'余江县'),
(360681, u'贵溪市'),
(360700, u'赣州市'),
(360701, u'市辖区'),
(360702, u'章贡区'),
(360721, u'赣县'),
(360722, u'信丰县'),
(360723, u'大余县'),
(360724, u'上犹县'),
(360725, u'崇义县'),
(360726, u'安远县'),
(360727, u'龙南县'),
(360728, u'定南县'),
(360729, u'全南县'),
(360730, u'宁都县'),
(360731, u'于都县'),
(360732, u'兴国县'),
(360733, u'会昌县'),
(360734, u'寻乌县'),
(360735, u'石城县'),
(360781, u'瑞金市'),
(360782, u'南康市'),
(360800, u'吉安市'),
(360801, u'市辖区'),
(360802, u'吉州区'),
(360803, u'青原区'),
(360821, u'吉安县'),
(360822, u'吉水县'),
(360823, u'峡江县'),
(360824, u'新干县'),
(360825, u'永丰县'),
(360826, u'泰和县'),
(360827, u'遂川县'),
(360828, u'万安县'),
(360829, u'安福县'),
(360830, u'永新县'),
(360881, u'井冈山市'),
(360900, u'宜春市'),
(360901, u'市辖区'),
(360902, u'袁州区'),
(360921, u'奉新县'),
(360922, u'万载县'),
(360923, u'上高县'),
(360924, u'宜丰县'),
(360925, u'靖安县'),
(360926, u'铜鼓县'),
(360981, u'丰城市'),
(360982, u'樟树市'),
(360983, u'高安市'),
(361000, u'抚州市'),
(361001, u'市辖区'),
(361002, u'临川区'),
(361021, u'南城县'),
(361022, u'黎川县'),
(361023, u'南丰县'),
(361024, u'崇仁县'),
(361025, u'乐安县'),
(361026, u'宜黄县'),
(361027, u'金溪县'),
(361028, u'资溪县'),
(361029, u'东乡县'),
(361030, u'广昌县'),
(361100, u'上饶市'),
(361101, u'市辖区'),
(361102, u'信州区'),
(361121, u'上饶县'),
(361122, u'广丰县'),
(361123, u'玉山县'),
(361124, u'铅山县'),
(361125, u'横峰县'),
(361126, u'弋阳县'),
(361127, u'余干县'),
(361128, u'鄱阳县'),
(361129, u'万年县'),
(361130, u'婺源县'),
(361181, u'德兴市'),
(370000, u'山东省'),
(370100, u'济南市'),
(370101, u'市辖区'),
(370102, u'历下区'),
(370103, u'市中区'),
(370104, u'槐荫区'),
(370105, u'天桥区'),
(370112, u'历城区'),
(370113, u'长清区'),
(370124, u'平阴县'),
(370125, u'济阳县'),
(370126, u'商河县'),
(370181, u'章丘市'),
(370200, u'青岛市'),
(370201, u'市辖区'),
(370202, u'市南区'),
(370203, u'市北区'),
(370205, u'四方区'),
(370211, u'黄岛区'),
(370212, u'崂山区'),
(370213, u'李沧区'),
(370214, u'城阳区'),
(370281, u'胶州市'),
(370282, u'即墨市'),
(370283, u'平度市'),
(370284, u'胶南市'),
(370285, u'莱西市'),
(370300, u'淄博市'),
(370301, u'市辖区'),
(370302, u'淄川区'),
(370303, u'张店区'),
(370304, u'博山区'),
(370305, u'临淄区'),
(370306, u'周村区'),
(370321, u'桓台县'),
(370322, u'高青县'),
(370323, u'沂源县'),
(370400, u'枣庄市'),
(370401, u'市辖区'),
(370402, u'市中区'),
(370403, u'薛城区'),
(370404, u'峄城区'),
(370405, u'台儿庄区'),
(370406, u'山亭区'),
(370481, u'滕州市'),
(370500, u'东营市'),
(370501, u'市辖区'),
(370502, u'东营区'),
(370503, u'河口区'),
(370521, u'垦利县'),
(370522, u'利津县'),
(370523, u'广饶县'),
(370600, u'烟台市'),
(370601, u'市辖区'),
(370602, u'芝罘区'),
(370611, u'福山区'),
(370612, u'牟平区'),
(370613, u'莱山区'),
(370634, u'长岛县'),
(370681, u'龙口市'),
(370682, u'莱阳市'),
(370683, u'莱州市'),
(370684, u'蓬莱市'),
(370685, u'招远市'),
(370686, u'栖霞市'),
(370687, u'海阳市'),
(370700, u'潍坊市'),
(370701, u'市辖区'),
(370702, u'潍城区'),
(370703, u'寒亭区'),
(370704, u'坊子区'),
(370705, u'奎文区'),
(370724, u'临朐县'),
(370725, u'昌乐县'),
(370781, u'青州市'),
(370782, u'诸城市'),
(370783, u'寿光市'),
(370784, u'安丘市'),
(370785, u'高密市'),
(370786, u'昌邑市'),
(370800, u'济宁市'),
(370801, u'市辖区'),
(370802, u'市中区'),
(370811, u'任城区'),
(370826, u'微山县'),
(370827, u'鱼台县'),
(370828, u'金乡县'),
(370829, u'嘉祥县'),
(370830, u'汶上县'),
(370831, u'泗水县'),
(370832, u'梁山县'),
(370881, u'曲阜市'),
(370882, u'兖州市'),
(370883, u'邹城市'),
(370900, u'泰安市'),
(370901, u'市辖区'),
(370902, u'泰山区'),
(370903, u'岱岳区'),
(370921, u'宁阳县'),
(370923, u'东平县'),
(370982, u'新泰市'),
(370983, u'肥城市'),
(371000, u'威海市'),
(371001, u'市辖区'),
(371002, u'环翠区'),
(371081, u'文登市'),
(371082, u'荣成市'),
(371083, u'乳山市'),
(371100, u'日照市'),
(371101, u'市辖区'),
(371102, u'东港区'),
(371103, u'岚山区'),
(371121, u'五莲县'),
(371122, u'莒县'),
(371200, u'莱芜市'),
(371201, u'市辖区'),
(371202, u'莱城区'),
(371203, u'钢城区'),
(371300, u'临沂市'),
(371301, u'临沂市辖区'),
(371302, u'兰山区'),
(371311, u'罗庄区'),
(371312, u'河东区'),
(371321, u'沂南县'),
(371322, u'郯城县'),
(371323, u'沂水县'),
(371324, u'苍山县'),
(371325, u'费县'),
(371326, u'平邑县'),
(371327, u'莒南县'),
(371328, u'蒙阴县'),
(371329, u'临沭县'),
(371400, u'德州市'),
(371401, u'市辖区'),
(371402, u'德城区'),
(371421, u'陵县'),
(371422, u'宁津县'),
(371423, u'庆云县'),
(371424, u'临邑县'),
(371425, u'齐河县'),
(371426, u'平原县'),
(371427, u'夏津县'),
(371428, u'武城县'),
(371481, u'乐陵市'),
(371482, u'禹城市'),
(371500, u'聊城市'),
(371501, u'市辖区'),
(371502, u'东昌府区'),
(371521, u'阳谷县'),
(371522, u'莘县'),
(371523, u'茌平县'),
(371524, u'东阿县'),
(371525, u'冠县'),
(371526, u'高唐县'),
(371581, u'临清市'),
(371600, u'滨州市'),
(371601, u'市辖区'),
(371602, u'滨城区'),
(371621, u'惠民县'),
(371622, u'阳信县'),
(371623, u'无棣县'),
(371624, u'沾化县'),
(371625, u'博兴县'),
(371626, u'邹平县'),
(371700, u'菏泽市'),
(371701, u'市辖区'),
(371702, u'牡丹区'),
(371721, u'曹县'),
(371722, u'单县'),
(371723, u'成武县'),
(371724, u'巨野县'),
(371725, u'郓城县'),
(371726, u'鄄城县'),
(371727, u'定陶县'),
(371728, u'东明县'),
(410000, u'河南省'),
(410100, u'郑州市'),
(410101, u'市辖区'),
(410102, u'中原区'),
(410103, u'二七区'),
(410104, u'管城回族区'),
(410105, u'金水区'),
(410106, u'上街区'),
(410108, u'惠济区'),
(410122, u'中牟县'),
(410181, u'巩义市'),
(410182, u'荥阳市'),
(410183, u'新密市'),
(410184, u'新郑市'),
(410185, u'登封市'),
(410200, u'开封市'),
(410201, u'市辖区'),
(410202, u'龙亭区'),
(410203, u'顺河区'),
(410204, u'鼓楼区'),
(410205, u'禹王台区'),
(410211, u'金明区'),
(410221, u'杞县'),
(410222, u'通许县'),
(410223, u'尉氏县'),
(410224, u'开封县'),
(410225, u'兰考县'),
(410300, u'洛阳市'),
(410301, u'市辖区'),
(410302, u'老城区'),
(410303, u'西工区'),
(410304, u'廛河回族区'),
(410305, u'涧西区'),
(410306, u'吉利区'),
(410307, u'洛龙区'),
(410322, u'孟津县'),
(410323, u'新安县'),
(410324, u'栾川县'),
(410325, u'嵩县'),
(410326, u'汝阳县'),
(410327, u'宜阳县'),
(410328, u'洛宁县'),
(410329, u'伊川县'),
(410381, u'偃师市'),
(410400, u'平顶山市'),
(410401, u'市辖区'),
(410402, u'新华区'),
(410403, u'卫东区'),
(410404, u'石龙区'),
(410411, u'湛河区'),
(410421, u'宝丰县'),
(410422, u'叶县'),
(410423, u'鲁山县'),
(410425, u'郏县'),
(410481, u'舞钢市'),
(410482, u'汝州市'),
(410500, u'安阳市'),
(410501, u'市辖区'),
(410502, u'文峰区'),
(410503, u'北关区'),
(410505, u'殷都区'),
(410506, u'龙安区'),
(410522, u'安阳县'),
(410523, u'汤阴县'),
(410526, u'滑县'),
(410527, u'内黄县'),
(410581, u'林州市'),
(410600, u'鹤壁市'),
(410601, u'市辖区'),
(410602, u'鹤山区'),
(410603, u'山城区'),
(410611, u'淇滨区'),
(410621, u'浚县'),
(410622, u'淇县'),
(410700, u'新乡市'),
(410701, u'市辖区'),
(410702, u'红旗区'),
(410703, u'卫滨区'),
(410704, u'凤泉区'),
(410711, u'牧野区'),
(410721, u'新乡县'),
(410724, u'获嘉县'),
(410725, u'原阳县'),
(410726, u'延津县'),
(410727, u'封丘县'),
(410728, u'长垣县'),
(410781, u'卫辉市'),
(410782, u'辉县市'),
(410800, u'焦作市'),
(410801, u'市辖区'),
(410802, u'解放区'),
(410803, u'中站区'),
(410804, u'马村区'),
(410811, u'山阳区'),
(410821, u'修武县'),
(410822, u'博爱县'),
(410823, u'武陟县'),
(410825, u'温县'),
(410881, u'济源市'),
(410882, u'沁阳市'),
(410883, u'孟州市'),
(410900, u'濮阳市'),
(410901, u'市辖区'),
(410902, u'华龙区'),
(410922, u'清丰县'),
(410923, u'南乐县'),
(410926, u'范县'),
(410927, u'台前县'),
(410928, u'濮阳县'),
(411000, u'许昌市'),
(411001, u'市辖区'),
(411002, u'魏都区'),
(411023, u'许昌县'),
(411024, u'鄢陵县'),
(411025, u'襄城县'),
(411081, u'禹州市'),
(411082, u'长葛市'),
(411100, u'漯河市'),
(411101, u'市辖区'),
(411102, u'源汇区'),
(411103, u'郾城区'),
(411104, u'召陵区'),
(411121, u'舞阳县'),
(411122, u'临颖县'),
(411200, u'三门峡市'),
(411201, u'市辖区'),
(411202, u'湖滨区'),
(411221, u'渑池县'),
(411222, u'陕县'),
(411224, u'卢氏县'),
(411281, u'义马市'),
(411282, u'灵宝市'),
(411300, u'南阳市'),
(411301, u'市辖区'),
(411302, u'宛城区'),
(411303, u'卧龙区'),
(411321, u'南召县'),
(411322, u'方城县'),
(411323, u'西峡县'),
(411324, u'镇平县'),
(411325, u'内乡县'),
(411326, u'淅川县'),
(411327, u'社旗县'),
(411328, u'唐河县'),
(411329, u'新野县'),
(411330, u'桐柏县'),
(411381, u'邓州市'),
(411400, u'商丘市'),
(411401, u'市辖区'),
(411402, u'梁园区'),
(411403, u'睢阳区'),
(411421, u'民权县'),
(411422, u'睢县'),
(411423, u'宁陵县'),
(411424, u'柘城县'),
(411425, u'虞城县'),
(411426, u'夏邑县'),
(411481, u'永城市'),
(411500, u'信阳市'),
(411501, u'市辖区'),
(411502, u'浉河区'),
(411503, u'平桥区'),
(411521, u'罗山县'),
(411522, u'光山县'),
(411523, u'新县'),
(411524, u'商城县'),
(411525, u'固始县'),
(411526, u'潢川县'),
(411527, u'淮滨县'),
(411528, u'息县'),
(411600, u'周口市'),
(411601, u'市辖区'),
(411602, u'川汇区'),
(411621, u'扶沟县'),
(411622, u'西华县'),
(411623, u'商水县'),
(411624, u'沈丘县'),
(411625, u'郸城县'),
(411626, u'淮阳县'),
(411627, u'太康县'),
(411628, u'鹿邑县'),
(411681, u'项城市'),
(411700, u'驻马店市'),
(411701, u'市辖区'),
(411702, u'驿城区'),
(411721, u'西平县'),
(411722, u'上蔡县'),
(411723, u'平舆县'),
(411724, u'正阳县'),
(411725, u'确山县'),
(411726, u'泌阳县'),
(411727, u'汝南县'),
(411728, u'遂平县'),
(411729, u'新蔡县'),
(420000, u'湖北省'),
(420100, u'武汉市'),
(420101, u'市辖区'),
(420102, u'江岸区'),
(420103, u'江汉区'),
(420104, u'硚口区'),
(420105, u'汉阳区'),
(420106, u'武昌区'),
(420107, u'青山区'),
(420111, u'洪山区'),
(420112, u'东西湖区'),
(420113, u'汉南区'),
(420114, u'蔡甸区'),
(420115, u'江夏区'),
(420116, u'黄陂区'),
(420117, u'武汉市新洲区'),
(420200, u'黄石市'),
(420201, u'市辖区'),
(420202, u'黄石港区'),
(420203, u'西塞山区'),
(420204, u'下陆区'),
(420205, u'铁山区'),
(420222, u'阳新县'),
(420281, u'大冶市'),
(420300, u'十堰市'),
(420301, u'市辖区'),
(420302, u'茅箭区'),
(420303, u'张湾区'),
(420321, u'郧县'),
(420322, u'郧西县'),
(420323, u'竹山县'),
(420324, u'竹溪县'),
(420325, u'房县'),
(420381, u'丹江口市'),
(420500, u'宜昌市'),
(420501, u'市辖区'),
(420502, u'西陵区'),
(420503, u'伍家岗区'),
(420504, u'点军区'),
(420505, u'猇亭区'),
(420506, u'夷陵区'),
(420525, u'远安县'),
(420526, u'兴山县'),
(420527, u'秭归县'),
(420528, u'长阳土家族自治县'),
(420529, u'五峰土家族自治县'),
(420581, u'宜都市'),
(420582, u'当阳市'),
(420583, u'枝江市'),
(420600, u'襄樊市'),
(420601, u'市辖区'),
(420602, u'襄城区'),
(420606, u'樊城区'),
(420607, u'襄阳区'),
(420624, u'南漳县'),
(420625, u'谷城县'),
(420626, u'保康县'),
(420682, u'老河口市'),
(420683, u'枣阳市'),
(420684, u'宜城市'),
(420700, u'鄂州市'),
(420701, u'市辖区'),
(420702, u'粱子湖区'),
(420703, u'华容区'),
(420704, u'鄂城区'),
(420800, u'荆门市'),
(420801, u'市辖区'),
(420802, u'东宝区'),
(420804, u'掇刀区'),
(420821, u'京山县'),
(420822, u'沙洋县'),
(420881, u'钟祥市'),
(420900, u'孝感市'),
(420901, u'市辖区'),
(420902, u'孝南区'),
(420921, u'孝昌县'),
(420922, u'大悟县'),
(420923, u'云梦县'),
(420981, u'应城市'),
(420982, u'安陆市'),
(420984, u'汉川市'),
(421000, u'荆州市'),
(421001, u'市辖区'),
(421002, u'沙市区'),
(421003, u'荆州区'),
(421022, u'*县'),
(421023, u'监利县'),
(421024, u'江陵县'),
(421081, u'石首市'),
(421083, u'洪湖市'),
(421087, u'松滋市'),
(421100, u'黄冈市'),
(421101, u'市辖区'),
(421102, u'黄州区'),
(421121, u'团风县'),
(421122, u'红安县'),
(421123, u'罗田县'),
(421124, u'英山县'),
(421125, u'浠水县'),
(421126, u'蕲春县'),
(421127, u'黄梅县'),
(421181, u'麻城市'),
(421182, u'武穴市'),
(421200, u'咸宁市'),
(421201, u'市辖区'),
(421202, u'咸安区'),
(421221, u'嘉鱼县'),
(421222, u'通城县'),
(421223, u'崇阳县'),
(421224, u'通山县'),
(421281, u'赤壁市'),
(421300, u'随州市'),
(421301, u'市辖区'),
(421302, u'曾都区'),
(421381, u'广水市'),
(422800, u'恩施州'),
(422801, u'恩施市'),
(422802, u'利川市'),
(422822, u'建始县'),
(422823, u'巴东县'),
(422825, u'宣恩县'),
(422826, u'咸丰县'),
(422827, u'来凤县'),
(422828, u'鹤峰县'),
(429000, u'省直辖行政单位'),
(429004, u'仙桃市'),
(429005, u'潜江市'),
(429006, u'天门市'),
(429021, u'神农架林区'),
(430000, u'湖南省'),
(430100, u'长沙市'),
(430101, u'市辖区'),
(430102, u'芙蓉区'),
(430103, u'天心区'),
(430104, u'岳麓区'),
(430105, u'开福区'),
(430111, u'雨花区'),
(430121, u'长沙县'),
(430122, u'望城县'),
(430124, u'宁乡县'),
(430181, u'浏阳市'),
(430200, u'株洲市'),
(430201, u'市辖区'),
(430202, u'荷塘区'),
(430203, u'芦淞区'),
(430204, u'石峰区'),
(430211, u'天元区'),
(430221, u'株洲县'),
(430223, u'攸县'),
(430224, u'茶陵县'),
(430225, u'炎陵县'),
(430281, u'醴陵市'),
(430300, u'湘潭市'),
(430301, u'市辖区'),
(430302, u'雨湖区'),
(430304, u'岳塘区'),
(430321, u'湘潭县'),
(430381, u'湘乡市'),
(430382, u'韶山市'),
(430400, u'衡阳市'),
(430401, u'市辖区'),
(430405, u'珠晖区'),
(430406, u'雁峰区'),
(430407, u'石鼓区'),
(430408, u'蒸湘区'),
(430412, u'南岳区'),
(430421, u'衡阳县'),
(430422, u'衡南县'),
(430423, u'衡山县'),
(430424, u'衡东县'),
(430426, u'祁东县'),
(430481, u'耒阳市'),
(430482, u'常宁市'),
(430500, u'邵阳市'),
(430501, u'市辖区'),
(430502, u'双清区'),
(430503, u'大祥区'),
(430511, u'北塔区'),
(430521, u'邵东县'),
(430522, u'新邵县'),
(430523, u'邵阳县'),
(430524, u'隆回县'),
(430525, u'洞口县'),
(430527, u'绥宁县'),
(430528, u'新宁县'),
(430529, u'城步苗族自治县'),
(430581, u'武冈市'),
(430600, u'岳阳市'),
(430601, u'市辖区'),
(430602, u'岳阳楼区'),
(430603, u'云溪区'),
(430611, u'君山区'),
(430621, u'岳阳县'),
(430623, u'华容县'),
(430624, u'湘阴县'),
(430626, u'平江县'),
(430681, u'汩罗市'),
(430682, u'临湘市'),
(430700, u'常德市'),
(430701, u'市辖区'),
(430702, u'武陵区'),
(430703, u'鼎城区'),
(430721, u'安乡县'),
(430722, u'汉寿县'),
(430723, u'澧县'),
(430724, u'临澧县'),
(430725, u'桃源县'),
(430726, u'石门县'),
(430781, u'津市市'),
(430800, u'张家界市'),
(430801, u'市辖区'),
(430802, u'永定区'),
(430811, u'武陵源区'),
(430821, u'慈利县'),
(430822, u'桑植县'),
(430900, u'益阳市'),
(430901, u'市辖区'),
(430902, u'资阳区'),
(430903, u'赫山区'),
(430921, u'南县'),
(430922, u'桃江县'),
(430923, u'安化县'),
(430981, u'沅江市'),
(431000, u'郴州市'),
(431001, u'市辖区'),
(431002, u'北湖区'),
(431003, u'苏仙区'),
(431021, u'桂阳县'),
(431022, u'宜章县'),
(431023, u'永兴县'),
(431024, u'嘉禾县'),
(431025, u'临武县'),
(431026, u'汝城县'),
(431027, u'桂东县'),
(431028, u'安仁县'),
(431081, u'资兴市'),
(431100, u'永州市'),
(431101, u'市辖区'),
(431102, u'零陵区'),
(431103, u'冷水滩区'),
(431121, u'祁阳县'),
(431122, u'东安县'),
(431123, u'双牌县'),
(431124, u'道县'),
(431125, u'江永县'),
(431126, u'宁远县'),
(431127, u'蓝山县'),
(431128, u'新田县'),
(431129, u'江华县'),
(431200, u'怀化市'),
(431201, u'市辖区'),
(431202, u'鹤城区'),
(431221, u'中方县'),
(431222, u'沅陵县'),
(431223, u'辰溪县'),
(431224, u'溆浦县'),
(431225, u'会同县'),
(431226, u'麻阳苗族自治县'),
(431227, u'新晃侗族自治县'),
(431228, u'芷江侗族自治县'),
(431229, u'靖州苗族侗族县'),
(431230, u'通道侗族自治县'),
(431281, u'洪江市'),
(431300, u'娄底市'),
(431301, u'市辖区'),
(431302, u'娄星区'),
(431321, u'双峰县'),
(431322, u'新化县'),
(431381, u'冷水江市'),
(431382, u'涟源市'),
(433100, u'湘西土家族苗族自治州'),
(433101, u'吉首市'),
(433122, u'泸溪县'),
(433123, u'凤凰县'),
(433124, u'花垣县'),
(433125, u'保靖县'),
(433126, u'古丈县'),
(433127, u'永顺县'),
(433130, u'龙山县'),
(440000, u'广东省'),
(440100, u'广州市'),
(440103, u'荔湾区'),
(440104, u'越秀区'),
(440105, u'海珠区'),
(440106, u'天河区'),
(440111, u'白云区'),
(440112, u'黄埔区'),
(440113, u'番禺区'),
(440114, u'花都区'),
(440115, u'南沙区'),
(440116, u'萝岗区'),
(440183, u'增城市'),
(440184, u'从化市'),
(440200, u'韶关市'),
(440203, u'武江区'),
(440204, u'浈江区'),
(440205, u'曲江区'),
(440222, u'始兴县'),
(440224, u'仁化县'),
(440229, u'翁源县'),
(440232, u'乳源瑶族自治县'),
(440233, u'新丰县'),
(440281, u'乐昌市'),
(440282, u'南雄市'),
(440300, u'深圳市'),
(440303, u'罗湖区'),
(440304, u'福田区'),
(440305, u'南山区'),
(440306, u'宝安区'),
(440307, u'龙岗区'),
(440308, u'盐田区'),
(440400, u'珠海市'),
(440402, u'香洲区'),
(440403, u'斗门区'),
(440404, u'金湾区'),
(440500, u'汕头市'),
(440507, u'龙湖区'),
(440511, u'金平区'),
(440512, u'濠江区'),
(440513, u'潮阳区'),
(440514, u'潮南区'),
(440515, u'澄海区'),
(440523, u'南澳县'),
(440600, u'佛山市'),
(440604, u'禅城区'),
(440605, u'南海区'),
(440606, u'顺德区'),
(440607, u'三水区'),
(440608, u'高明区'),
(440700, u'江门市'),
(440703, u'蓬江区'),
(440704, u'江海区'),
(440705, u'新会区'),
(440781, u'台山市'),
(440783, u'开平市'),
(440784, u'鹤山市'),
(440785, u'恩平市'),
(440800, u'湛江市'),
(440802, u'湛江市赤坎区'),
(440803, u'湛江市霞山区'),
(440804, u'湛江市坡头区'),
(440811, u'湛江市麻章区'),
(440823, u'遂溪县'),
(440825, u'徐闻县'),
(440881, u'廉江市'),
(440882, u'雷州市'),
(440883, u'吴川市'),
(440900, u'茂名市'),
(440902, u'茂南区'),
(440903, u'茂港区'),
(440923, u'电白县'),
(440981, u'高州市'),
(440982, u'化州市'),
(440983, u'信宜市'),
(441200, u'肇庆市'),
(441202, u'端州区'),
(441203, u'鼎湖区'),
(441223, u'广宁县'),
(441224, u'怀集县'),
(441225, u'封开县'),
(441226, u'德庆县'),
(441283, u'高要市'),
(441284, u'四会市'),
(441300, u'惠州市'),
(441302, u'惠城区'),
(441303, u'惠阳区'),
(441322, u'博罗县'),
(441323, u'惠东县'),
(441324, u'龙门县'),
(441400, u'梅州市'),
(441402, u'梅江区'),
(441421, u'梅县'),
(441422, u'大埔县'),
(441423, u'丰顺县'),
(441424, u'五华县'),
(441426, u'平远县'),
(441427, u'蕉岭县'),
(441481, u'兴宁市'),
(441500, u'汕尾市'),
(441501, u'市辖区'),
(441502, u'城区'),
(441521, u'海丰县'),
(441523, u'陆河县'),
(441581, u'陆丰市'),
(441600, u'河源市'),
(441602, u'源城区'),
(441621, u'紫金县'),
(441622, u'龙川县'),
(441623, u'连平县'),
(441624, u'和平县'),
(441625, u'东源县'),
(441700, u'阳江市'),
(441702, u'江城区'),
(441721, u'阳西县'),
(441723, u'阳东县'),
(441781, u'阳春市'),
(441800, u'清远市'),
(441802, u'清城区'),
(441821, u'佛冈县'),
(441823, u'阳山县'),
(441825, u'连山县'),
(441826, u'连南瑶族自治县'),
(441827, u'清新县'),
(441881, u'英德市'),
(441882, u'连州市'),
(441900, u'东莞市'),
(441901, u'市辖区'),
(442000, u'中山市'),
(442001, u'市辖区'),
(445100, u'潮州市'),
(445102, u'潮州市湘桥区'),
(445121, u'潮州市潮安县'),
(445122, u'潮州市饶平县'),
(445200, u'揭阳市'),
(445202, u'榕城区'),
(445221, u'揭东县'),
(445222, u'揭西县'),
(445224, u'惠来县'),
(445281, u'普宁市'),
(445300, u'云浮市'),
(445302, u'云城区'),
(445321, u'新兴县'),
(445322, u'郁南县'),
(445323, u'云安县'),
(445381, u'罗定市'),
(450000, u'广西壮族自治区'),
(450100, u'南宁市'),
(450101, u'市辖区'),
(450102, u'兴宁区'),
(450103, u'青秀区'),
(450105, u'江南区'),
(450107, u'西乡塘区'),
(450108, u'良庆区'),
(450109, u'邕宁区'),
(450122, u'武鸣县'),
(450123, u'隆安县'),
(450124, u'马山县'),
(450125, u'上林县'),
(450126, u'宾阳县'),
(450127, u'横县'),
(450200, u'柳州市'),
(450201, u'市辖区'),
(450202, u'城中区'),
(450203, u'鱼峰区'),
(450204, u'柳南区'),
(450205, u'柳北区'),
(450221, u'柳江县'),
(450222, u'柳城县'),
(450223, u'鹿寨县'),
(450224, u'融安县'),
(450225, u'融水苗族自治县'),
(450226, u'三江侗族自治县'),
(450300, u'桂林市'),
(450301, u'市辖区'),
(450302, u'秀峰区'),
(450303, u'叠彩区'),
(450304, u'象山区'),
(450305, u'七星区'),
(450311, u'雁山区'),
(450321, u'阳朔县'),
(450322, u'临桂县'),
(450323, u'灵川县'),
(450324, u'全州县'),
(450325, u'兴安县'),
(450326, u'永福县'),
(450327, u'灌阳县'),
(450328, u'龙胜各族自治县'),
(450329, u'资源县'),
(450330, u'平乐县'),
(450331, u'荔浦县'),
(450332, u'恭城县'),
(450400, u'梧州市'),
(450401, u'市辖区'),
(450403, u'万秀区'),
(450404, u'蝶山区'),
(450405, u'长洲区'),
(450421, u'苍梧县'),
(450422, u'藤县'),
(450423, u'蒙山县'),
(450481, u'岑溪市'),
(450500, u'北海市'),
(450501, u'市辖区'),
(450502, u'海城区'),
(450503, u'银海区'),
(450512, u'铁山港区'),
(450521, u'合浦县'),
(450600, u'防城港市'),
(450601, u'市辖区'),
(450602, u'港口区'),
(450603, u'防城区'),
(450621, u'上思县'),
(450681, u'东兴市'),
(450700, u'钦州市'),
(450701, u'市辖区'),
(450702, u'钦南区'),
(450703, u'钦北区'),
(450721, u'灵山县'),
(450722, u'浦北县'),
(450800, u'贵港市'),
(450801, u'市辖区'),
(450802, u'港北区'),
(450803, u'港南区'),
(450804, u'覃塘区'),
(450821, u'平南县'),
(450881, u'桂平市'),
(450900, u'玉林市'),
(450901, u'市辖区'),
(450902, u'玉州区'),
(450921, u'容县'),
(450922, u'陆川县'),
(450923, u'博白县'),
(450924, u'兴业县'),
(450981, u'北流市'),
(451000, u'百色市'),
(451001, u'市辖区'),
(451002, u'右江区'),
(451021, u'田阳县'),
(451022, u'田东县'),
(451023, u'平果县'),
(451024, u'德保县'),
(451025, u'靖西县'),
(451026, u'那坡县'),
(451027, u'凌云县'),
(451028, u'乐业县'),
(451029, u'田林县'),
(451030, u'西林县'),
(451031, u'隆林各族自治县'),
(451100, u'贺州市'),
(451101, u'市辖区'),
(451102, u'八步区'),
(451121, u'昭平县'),
(451122, u'钟山县'),
(451123, u'富川瑶族自治县'),
(451200, u'河池市'),
(451201, u'市辖区'),
(451202, u'金城江区'),
(451221, u'南丹县'),
(451222, u'天峨县'),
(451223, u'凤山县'),
(451224, u'东兰县'),
(451225, u'罗城仫佬族自治县'),
(451226, u'环江毛南族自治县'),
(451227, u'巴马瑶族自治县'),
(451228, u'都安瑶族自治县'),
(451229, u'大化瑶族自治县'),
(451281, u'宜州市'),
(451300, u'来宾市'),
(451301, u'市辖区'),
(451302, u'兴宾区'),
(451321, u'忻城县'),
(451322, u'象州县'),
(451323, u'武宣县'),
(451324, u'金秀瑶族自治县'),
(451381, u'合山市'),
(451400, u'崇左市'),
(451401, u'市辖区'),
(451402, u'江州区'),
(451421, u'扶绥县'),
(451422, u'宁明县'),
(451423, u'龙州县'),
(451424, u'大新县'),
(451425, u'天等县'),
(451481, u'凭祥市'),
(460000, u'海南省'),
(460100, u'海口市'),
(460101, u'市辖区'),
(460105, u'秀英区'),
(460106, u'龙华区'),
(460107, u'琼山区'),
(460108, u'美兰区'),
(460200, u'三亚市'),
(460201, u'市辖区'),
(469000, u'省属虚拟市'),
(469001, u'五指山市'),
(469002, u'琼海市'),
(469003, u'儋州市'),
(469005, u'文昌市'),
(469006, u'万宁市'),
(469007, u'东方市'),
(469025, u'定安县'),
(469026, u'屯昌县'),
(469027, u'澄迈县'),
(469028, u'临高县'),
(469030, u'白沙黎族自治县'),
(469031, u'昌江黎族自治县'),
(469033, u'乐东黎族自治县'),
(469034, u'陵水黎族自治县'),
(469035, u'保亭黎族苗族自治县'),
(469036, u'琼中黎族苗族自治县'),
(469037, u'西沙群岛'),
(469038, u'南沙群岛'),
(469039, u'中沙群岛的岛礁及其海域'),
(500000, u'重庆市'),
(500100, u'市辖区'),
(500101, u'万州区'),
(500102, u'涪陵区'),
(500103, u'渝中区'),
(500104, u'大渡口区'),
(500105, u'江北区'),
(500106, u'沙坪坝区'),
(500107, u'九龙坡区'),
(500108, u'南岸区'),
(500109, u'北碚区'),
(500110, u'万盛区'),
(500111, u'双桥区'),
(500112, u'渝北区'),
(500113, u'巴南区'),
(500114, u'黔江区'),
(500115, u'长寿区'),
(500116, u'江津区'),
(500117, u'合川区'),
(500118, u'永川区'),
(500119, u'南川区'),
(500200, u'县'),
(500222, u'綦江县'),
(500223, u'潼南县'),
(500224, u'铜梁县'),
(500225, u'大足县'),
(500226, u'荣昌县'),
(500227, u'璧山县'),
(500228, u'梁平县'),
(500229, u'城口县'),
(500230, u'丰都县'),
(500231, u'垫江县'),
(500232, u'武隆县'),
(500233, u'忠县'),
(500234, u'开县'),
(500235, u'云阳县'),
(500236, u'奉节县'),
(500237, u'巫山县'),
(500238, u'巫溪县'),
(500240, u'石柱县'),
(500241, u'秀山土家族苗族自治县'),
(500242, u'酉阳土家族苗族自治县'),
(500243, u'彭水苗族土家族自治县'),
(510000, u'四川省'),
(510100, u'成都市'),
(510101, u'市辖区'),
(510104, u'锦江区'),
(510105, u'青羊区'),
(510106, u'金牛区'),
(510107, u'武侯区'),
(510108, u'成华区'),
(510112, u'龙泉驿区'),
(510113, u'青白江区'),
(510114, u'新都区'),
(510115, u'温江区'),
(510121, u'金堂县'),
(510122, u'双流县'),
(510124, u'郫县'),
(510129, u'大邑县'),
(510131, u'蒲江县'),
(510132, u'新津县'),
(510181, u'都江堰市'),
(510182, u'彭州市'),
(510183, u'邛崃市'),
(510184, u'崇州市'),
(510300, u'自贡市'),
(510301, u'市辖区'),
(510302, u'自流井区'),
(510303, u'贡井区'),
(510304, u'大安区'),
(510311, u'沿滩区'),
(510321, u'荣县'),
(510322, u'富顺县'),
(510400, u'攀枝花市'),
(510401, u'市辖区'),
(510402, u'攀枝花东区'),
(510403, u'西区'),
(510411, u'仁和区'),
(510421, u'米易县'),
(510422, u'盐边县'),
(510500, u'泸州市'),
(510501, u'市辖区'),
(510502, u'江阳区'),
(510503, u'纳溪区'),
(510504, u'龙马潭区'),
(510521, u'泸县'),
(510522, u'合江县'),
(510524, u'叙永县'),
(510525, u'古蔺县'),
(510600, u'德阳市'),
(510601, u'市辖区'),
(510603, u'旌阳区'),
(510623, u'中江县'),
(510626, u'罗江县'),
(510681, u'广汉市'),
(510682, u'什邡市'),
(510683, u'绵竹市'),
(510700, u'绵阳市'),
(510701, u'市辖区'),
(510703, u'涪城区'),
(510704, u'游仙区'),
(510722, u'三台县'),
(510723, u'盐亭县'),
(510724, u'安县'),
(510725, u'梓潼县'),
(510726, u'北川羌族自治县'),
(510727, u'平武县'),
(510781, u'江油市'),
(510800, u'广元市'),
(510801, u'市辖区'),
(510802, u'市中区'),
(510811, u'元坝区'),
(510812, u'朝天区'),
(510821, u'旺苍县'),
(510822, u'青川县'),
(510823, u'剑阁县'),
(510824, u'苍溪县'),
(510900, u'遂宁市'),
(510901, u'市辖区'),
(510903, u'船山区'),
(510904, u'安居区'),
(510921, u'蓬溪县'),
(510922, u'射洪县'),
(510923, u'大英县'),
(511000, u'内江市'),
(511001, u'市辖区'),
(511002, u'市中区'),
(511011, u'东兴区'),
(511024, u'威远县'),
(511025, u'资中县'),
(511028, u'隆昌县'),
(511100, u'乐山市'),
(511101, u'市辖区'),
(511102, u'市中区'),
(511111, u'沙湾区'),
(511112, u'五通桥区'),
(511113, u'金口河区'),
(511123, u'犍为县'),
(511124, u'井研县'),
(511126, u'夹江县'),
(511129, u'沐川县'),
(511132, u'峨边彝族自治县'),
(511133, u'马边彝族自治县'),
(511181, u'峨眉山市'),
(511300, u'南充市'),
(511301, u'市辖区'),
(511302, u'顺庆区'),
(511303, u'高坪区'),
(511304, u'嘉陵区'),
(511321, u'南部县'),
(511322, u'营山县'),
(511323, u'蓬安县'),
(511324, u'仪陇县'),
(511325, u'西充县'),
(511381, u'阆中市'),
(511400, u'眉山市'),
(511401, u'市辖区'),
(511402, u'东坡区'),
(511421, u'仁寿县'),
(511422, u'彭山县'),
(511423, u'洪雅县'),
(511424, u'丹棱县'),
(511425, u'青神县'),
(511500, u'宜宾市'),
(511501, u'市辖区'),
(511502, u'翠屏区'),
(511521, u'宜宾县'),
(511522, u'南溪县'),
(511523, u'江安县'),
(511524, u'长宁县'),
(511525, u'高县'),
(511526, u'珙县'),
(511527, u'筠连县'),
(511528, u'兴文县'),
(511529, u'屏山县'),
(511600, u'广安市'),
(511601, u'市辖区'),
(511602, u'广安区'),
(511621, u'岳池县'),
(511622, u'武胜县'),
(511623, u'邻水县'),
(511681, u'华蓥市'),
(511700, u'达州市'),
(511701, u'市辖区'),
(511702, u'通川区'),
(511721, u'达县'),
(511722, u'宣汉县'),
(511723, u'开江县'),
(511724, u'大竹县'),
(511725, u'渠县'),
(511781, u'万源市'),
(511800, u'雅安市'),
(511801, u'市辖区'),
(511802, u'雨城区'),
(511821, u'名山县'),
(511822, u'荥经县'),
(511823, u'汉源县'),
(511824, u'石棉县'),
(511825, u'天全县'),
(511826, u'芦山县'),
(511827, u'宝兴县'),
(511900, u'巴中市'),
(511901, u'市辖区'),
(511902, u'巴州区'),
(511921, u'通江县'),
(511922, u'南江县'),
(511923, u'平昌县'),
(512000, u'资阳市'),
(512001, u'市辖区'),
(512002, u'雁江区'),
(512021, u'安岳县'),
(512022, u'乐至县'),
(512081, u'简阳市'),
(513200, u'阿坝州'),
(513221, u'汶川县'),
(513222, u'理县'),
(513223, u'茂县'),
(513224, u'松潘县'),
(513225, u'九寨沟县'),
(513226, u'金川县'),
(513227, u'小金县'),
(513228, u'黑水县'),
(513229, u'马尔康县'),
(513230, u'壤塘县'),
(513231, u'阿坝县'),
(513232, u'若尔盖县'),
(513233, u'红原县'),
(513300, u'甘孜藏族自治州'),
(513321, u'康定县'),
(513322, u'泸定县'),
(513323, u'丹巴县'),
(513324, u'九龙县'),
(513325, u'雅江县'),
(513326, u'道孚县'),
(513327, u'炉霍县'),
(513328, u'甘孜县'),
(513329, u'新龙县'),
(513330, u'德格县'),
(513331, u'白玉县'),
(513332, u'石渠县'),
(513333, u'色达县'),
(513334, u'理塘县'),
(513335, u'巴塘县'),
(513336, u'乡城县'),
(513337, u'稻城县'),
(513338, u'得荣县'),
(513400, u'凉山州'),
(513401, u'西昌市'),
(513422, u'木里藏族自治县'),
(513423, u'盐源县'),
(513424, u'德昌'),
(513425, u'会理县'),
(513426, u'会东县'),
(513427, u'宁南县'),
(513428, u'普格县'),
(513429, u'布拖县'),
(513430, u'金阳县'),
(513431, u'昭觉县'),
(513432, u'喜德县'),
(513433, u'冕宁县'),
(513434, u'越西县'),
(513435, u'甘洛县'),
(513436, u'美姑县'),
(513437, u'雷波县'),
(520000, u'贵州省'),
(520100, u'贵阳市'),
(520101, u'市辖区'),
(520102, u'南明区'),
(520103, u'云岩区'),
(520111, u'花溪区'),
(520112, u'乌当区'),
(520113, u'白云区'),
(520114, u'小河区'),
(520121, u'开阳县'),
(520122, u'息烽县'),
(520123, u'修文县'),
(520181, u'清镇市'),
(520200, u'六盘水市'),
(520201, u'钟山区'),
(520203, u'六枝特区'),
(520221, u'水城县'),
(520222, u'盘县'),
(520300, u'遵义市'),
(520301, u'市辖区'),
(520302, u'红花岗区'),
(520303, u'汇川区'),
(520321, u'遵义县'),
(520322, u'桐梓县'),
(520323, u'绥阳县'),
(520324, u'正安县'),
(520325, u'道真仡佬族苗族自治县'),
(520326, u'务川仡佬族苗族自治县'),
(520327, u'凤冈县'),
(520328, u'湄潭县'),
(520329, u'余庆县'),
(520330, u'习水县'),
(520381, u'赤水市'),
(520382, u'仁怀市'),
(520400, u'安顺市'),
(520401, u'市辖区'),
(520402, u'西秀区'),
(520421, u'平坝县'),
(520422, u'普定县'),
(520423, u'镇宁布依族苗族自治县'),
(520424, u'关岭自治县'),
(520425, u'紫云苗族布依族自治县'),
(522200, u'铜仁地区'),
(522201, u'铜仁市'),
(522222, u'江口县'),
(522223, u'玉屏侗族自治县'),
(522224, u'石阡县'),
(522225, u'思南县'),
(522226, u'印江土家族苗族自治县'),
(522227, u'德江县'),
(522228, u'沿河土家族自治县'),
(522229, u'松桃苗族自治县'),
(522230, u'万山特区'),
(522300, u'黔西南州'),
(522301, u'兴义市'),
(522322, u'兴仁县'),
(522323, u'普安县'),
(522324, u'晴隆县'),
(522325, u'贞丰县'),
(522326, u'望谟县'),
(522327, u'册亨县'),
(522328, u'安龙县'),
(522400, u'毕节地区'),
(522401, u'毕节市'),
(522422, u'大方县'),
(522423, u'黔西县'),
(522424, u'金沙县'),
(522425, u'织金县'),
(522426, u'纳雍县'),
(522427, u'威宁彝族回族苗族自治县'),
(522428, u'赫章县'),
(522600, u'黔东南苗族侗族自治州'),
(522601, u'凯里市'),
(522622, u'黄平县'),
(522623, u'施秉县'),
(522624, u'三穗县'),
(522625, u'镇远县'),
(522626, u'岑巩县'),
(522627, u'天柱县'),
(522628, u'锦屏县'),
(522629, u'剑河县'),
(522630, u'台江县'),
(522631, u'黎平县'),
(522632, u'榕江县'),
(522633, u'从江县'),
(522634, u'雷山县'),
(522635, u'麻江县'),
(522636, u'丹寨县'),
(522700, u'黔南布依族苗族自治州'),
(522701, u'都匀市'),
(522702, u'福泉市'),
(522722, u'荔波县'),
(522723, u'贵定县'),
(522725, u'瓮安县'),
(522726, u'独山县'),
(522727, u'平塘县'),
(522728, u'罗甸县'),
(522729, u'长顺县'),
(522730, u'龙里县'),
(522731, u'惠水县'),
(522732, u'三都水族自治县'),
(530000, u'云南省'),
(530100, u'昆明市'),
(530101, u'市辖区'),
(530102, u'五华区'),
(530103, u'盘龙区'),
(530111, u'官渡区'),
(530112, u'西山区'),
(530113, u'东川区'),
(530121, u'呈贡县'),
(530122, u'晋宁县'),
(530124, u'富民县'),
(530125, u'宜良县'),
(530126, u'石林县'),
(530127, u'嵩明县'),
(530128, u'禄劝县'),
(530129, u'寻甸县'),
(530181, u'安宁市'),
(530300, u'曲靖市'),
(530301, u'市辖区'),
(530302, u'麒麟区'),
(530321, u'马龙县'),
(530322, u'陆良县'),
(530323, u'师宗县'),
(530324, u'罗平县'),
(530325, u'富源县'),
(530326, u'会泽县'),
(530328, u'沾益县'),
(530381, u'宣威市'),
(530400, u'玉溪市'),
(530401, u'市辖区'),
(530402, u'红塔区'),
(530421, u'江川县'),
(530422, u'澄江县'),
(530423, u'通海县'),
(530424, u'华宁县'),
(530425, u'易门县'),
(530426, u'峨山县'),
(530427, u'新平县'),
(530428, u'元江县'),
(530500, u'保山市'),
(530501, u'市辖区'),
(530502, u'隆阳区'),
(530521, u'施甸县'),
(530522, u'腾冲县'),
(530523, u'龙陵县'),
(530524, u'昌宁县'),
(530600, u'昭通市'),
(530601, u'市辖区'),
(530602, u'昭阳区'),
(530621, u'鲁甸县'),
(530622, u'巧家县'),
(530623, u'盐津县'),
(530624, u'大关县'),
(530625, u'永善县'),
(530626, u'绥江县'),
(530627, u'镇雄县'),
(530628, u'彝良县'),
(530629, u'威信县'),
(530630, u'水富县'),
(530700, u'丽江市'),
(530701, u'市辖区'),
(530702, u'古城区'),
(530721, u'玉龙县'),
(530722, u'永胜县'),
(530723, u'华坪县'),
(530724, u'宁蒗县'),
(530800, u'思茅市'),
(530801, u'市辖区'),
(530802, u'翠云区'),
(530821, u'普洱县'),
(530822, u'墨江县'),
(530823, u'景东县'),
(530824, u'景谷县'),
(530825, u'镇沅县'),
(530826, u'江城县'),
(530827, u'孟连县'),
(530828, u'澜沧县'),
(530829, u'西盟县'),
(530900, u'临沧市'),
(530901, u'市辖区'),
(530902, u'临翔区'),
(530921, u'凤庆县'),
(530922, u'云县'),
(530923, u'永德县'),
(530924, u'镇康县'),
(530925, u'双江县'),
(530926, u'耿马县'),
(530927, u'沧源县'),
(532300, u'楚雄州'),
(532301, u'楚雄市'),
(532322, u'双柏县'),
(532323, u'牟定县'),
(532324, u'南华县'),
(532325, u'姚安县'),
(532326, u'大姚县'),
(532327, u'永仁县'),
(532328, u'元谋县'),
(532329, u'武定县'),
(532331, u'禄丰县'),
(532500, u'红河州'),
(532501, u'个旧市'),
(532502, u'开远市'),
(532522, u'蒙自县'),
(532523, u'屏边县'),
(532524, u'建水县'),
(532525, u'石屏县'),
(532526, u'弥勒县'),
(532527, u'泸西县'),
(532528, u'元阳县'),
(532529, u'红河县'),
(532530, u'金平县'),
(532531, u'绿春县'),
(532532, u'河口县'),
(532600, u'文山州'),
(532621, u'文山县'),
(532622, u'砚山县'),
(532623, u'西畴县'),
(532624, u'麻栗坡县'),
(532625, u'马关县'),
(532626, u'丘北县'),
(532627, u'广南县'),
(532628, u'富宁县'),
(532800, u'西双版纳州'),
(532801, u'景洪市'),
(532822, u'勐海县'),
(532823, u'勐腊县'),
(532900, u'大理州'),
(532901, u'大理市'),
(532922, u'漾濞县'),
(532923, u'祥云县'),
(532924, u'宾川县'),
(532925, u'弥渡县'),
(532926, u'南涧县'),
(532927, u'巍山县'),
(532928, u'永平县'),
(532929, u'云龙县'),
(532930, u'洱源县'),
(532931, u'剑川县'),
(532932, u'鹤庆县'),
(533100, u'德宏州'),
(533102, u'瑞丽市'),
(533103, u'潞西市'),
(533122, u'梁河县'),
(533123, u'盈江县'),
(533124, u'陇川县'),
(533300, u'怒江州'),
(533321, u'泸水县'),
(533323, u'福贡县'),
(533324, u'贡山县'),
(533325, u'兰坪县'),
(533400, u'迪庆州'),
(533421, u'香格里拉县'),
(533422, u'德钦县'),
(533423, u'维西县'),
(540000, u'*自治区'),
(540100, u'拉萨市'),
(540102, u'城关区'),
(540121, u'林周县'),
(540122, u'当雄县'),
(540123, u'尼木县'),
(540124, u'曲水县'),
(540125, u'堆龙德庆'),
(540126, u'达孜县'),
(540127, u'墨竹工卡县'),
(542100, u'昌都地区'),
(542121, u'昌都县'),
(542122, u'江达县'),
(542123, u'贡觉县'),
(542124, u'类乌齐县'),
(542125, u'丁青县'),
(542126, u'察亚县'),
(542127, u'八宿县'),
(542128, u'左贡县'),
(542129, u'芒康县'),
(542132, u'洛隆县'),
(542133, u'边坝县'),
(542200, u'山南地区'),
(542221, u'乃东县'),
(542222, u'扎囊县'),
(542223, u'贡嘎县'),
(542224, u'桑日县'),
(542225, u'琼结县'),
(542226, u'曲松县'),
(542227, u'措美县'),
(542228, u'洛扎县'),
(542229, u'加查县'),
(542231, u'隆子县'),
(542232, u'错那县'),
(542233, u'浪卡子县'),
(542300, u'日喀则地区'),
(542301, u'日喀则市'),
(542322, u'南木林县'),
(542323, u'江孜县'),
(542324, u'定日县'),
(542325, u'萨迦县'),
(542326, u'拉孜县'),
(542327, u'昂仁县'),
(542328, u'谢通门县'),
(542329, u'白朗县'),
(542330, u'仁布县'),
(542331, u'康马县'),
(542332, u'定结县'),
(542333, u'仲巴县'),
(542334, u'亚东县'),
(542335, u'吉隆县'),
(542336, u'聂拉木县'),
(542337, u'萨嘎县'),
(542338, u'岗巴县'),
(542400, u'那曲地区'),
(542421, u'那曲县'),
(542422, u'嘉黎县'),
(542423, u'比如县'),
(542424, u'聂荣县'),
(542425, u'安多县'),
(542426, u'申扎县'),
(542427, u'索县'),
(542428, u'班戈县'),
(542429, u'巴青县'),
(542430, u'尼玛县'),
(542500, u'阿里地区'),
(542521, u'普兰县'),
(542522, u'札达县'),
(542523, u'噶尔县'),
(542524, u'日土县'),
(542525, u'革吉县'),
(542526, u'改则县'),
(542527, u'措勤县'),
(542600, u'林芝地区'),
(542621, u'林芝县'),
(542622, u'工布江达县'),
(542623, u'米林县'),
(542624, u'墨脱县'),
(542625, u'波密县'),
(542626, u'察隅县'),
(542627, u'朗县'),
(610000, u'陕西省'),
(610100, u'西安市'),
(610101, u'市辖区'),
(610102, u'新城区'),
(610103, u'碑林区'),
(610104, u'莲湖区'),
(610111, u'灞桥区'),
(610112, u'未央区'),
(610113, u'雁塔区'),
(610114, u'阎良区'),
(610115, u'临潼区'),
(610116, u'长安区'),
(610122, u'蓝田县'),
(610124, u'周至县'),
(610125, u'户县'),
(610126, u'高陵县'),
(610200, u'铜川市'),
(610201, u'市辖区'),
(610202, u'王益区'),
(610203, u'印台区'),
(610204, u'耀州区'),
(610222, u'宜君县'),
(610300, u'宝鸡市'),
(610301, u'市辖区'),
(610302, u'渭滨区'),
(610303, u'金台区'),
(610304, u'陈仓区'),
(610322, u'凤翔县'),
(610323, u'岐山县'),
(610324, u'扶风县'),
(610326, u'眉县'),
(610327, u'陇县'),
(610328, u'千阳县'),
(610329, u'麟游县'),
(610330, u'凤县'),
(610331, u'太白县'),
(610400, u'咸阳市'),
(610401, u'市辖区'),
(610402, u'秦都区'),
(610403, u'杨凌区'),
(610404, u'渭城区'),
(610422, u'三原县'),
(610423, u'泾阳县'),
(610424, u'乾县'),
(610425, u'礼泉县'),
(610426, u'永寿县'),
(610427, u'彬县'),
(610428, u'长武县'),
(610429, u'旬邑县'),
(610430, u'淳化县'),
(610431, u'武功县'),
(610481, u'兴平市'),
(610500, u'渭南市'),
(610501, u'市辖区'),
(610502, u'临渭区'),
(610521, u'华县'),
(610522, u'潼关县'),
(610523, u'大荔县'),
(610524, u'合阳县'),
(610525, u'澄城县'),
(610526, u'蒲城县'),
(610527, u'白水县'),
(610528, u'富平县'),
(610581, u'韩城市'),
(610582, u'华阴市'),
(610600, u'延安市'),
(610601, u'市辖区'),
(610602, u'宝塔区'),
(610621, u'延长县'),
(610622, u'延川县'),
(610623, u'子长县'),
(610624, u'安塞县'),
(610625, u'志丹县'),
(610626, u'吴起县'),
(610627, u'甘泉县'),
(610628, u'富县'),
(610629, u'洛川县'),
(610630, u'宜川县'),
(610631, u'黄龙县'),
(610632, u'黄陵县'),
(610700, u'汉中市'),
(610701, u'市辖区'),
(610702, u'汉台区'),
(610721, u'南郑县'),
(610722, u'城固县'),
(610723, u'洋县'),
(610724, u'西乡县'),
(610725, u'勉县'),
(610726, u'宁强县'),
(610727, u'略阳县'),
(610728, u'镇巴县'),
(610729, u'留坝县'),
(610730, u'佛坪县'),
(610800, u'榆林市'),
(610801, u'市辖区'),
(610802, u'榆阳区'),
(610821, u'神木县'),
(610822, u'府谷县'),
(610823, u'横山县'),
(610824, u'靖边县'),
(610825, u'定边县'),
(610826, u'绥德县'),
(610827, u'米脂县'),
(610828, u'佳县'),
(610829, u'吴堡县'),
(610830, u'清涧县'),
(610831, u'子洲县'),
(610900, u'安康市'),
(610901, u'市辖区'),
(610902, u'汉滨区'),
(610921, u'汉阴县'),
(610922, u'石泉县'),
(610923, u'宁陕县'),
(610924, u'*县'),
(610925, u'岚皋县'),
(610926, u'平利县'),
(610927, u'镇坪县'),
(610928, u'旬阳县'),
(610929, u'白河县'),
(611000, u'商洛市'),
(611001, u'市辖区'),
(611002, u'商州区'),
(611021, u'洛南县'),
(611022, u'丹凤县'),
(611023, u'商南县'),
(611024, u'山阳县'),
(611025, u'镇安县'),
(611026, u'柞水县'),
(620000, u'甘肃省'),
(620100, u'兰州市'),
(620101, u'市辖区'),
(620102, u'城关区'),
(620103, u'七里河区'),
(620104, u'兰州市西固区'),
(620105, u'安宁区'),
(620111, u'红古区'),
(620121, u'永登县'),
(620122, u'皋兰县'),
(620123, u'榆中县'),
(620200, u'嘉峪关市'),
(620201, u'市辖'),
(620300, u'金昌市'),
(620301, u'市辖区'),
(620302, u'金川区'),
(620321, u'永昌县'),
(620400, u'白银市'),
(620401, u'市辖区'),
(620402, u'白银区'),
(620403, u'平川区'),
(620421, u'靖远县'),
(620422, u'会宁县'),
(620423, u'景泰县'),
(620500, u'天水市'),
(620501, u'市辖区'),
(620502, u'秦州区'),
(620503, u'麦积区'),
(620521, u'清水县'),
(620522, u'秦安县'),
(620523, u'甘谷县'),
(620524, u'武山县'),
(620525, u'张家川县'),
(620600, u'武威市'),
(620601, u'市辖区'),
(620602, u'凉州区'),
(620621, u'民勤县'),
(620622, u'古浪县'),
(620623, u'天祝县'),
(620700, u'张掖市'),
(620701, u'市辖区'),
(620702, u'甘州区'),
(620721, u'肃南裕固族自治县'),
(620722, u'民乐县'),
(620723, u'临泽县'),
(620724, u'高台县'),
(620725, u'山丹县'),
(620800, u'平凉市'),
(620801, u'市辖区'),
(620802, u'崆峒区'),
(620821, u'泾川县'),
(620822, u'灵台县'),
(620823, u'崇信县'),
(620824, u'华亭县'),
(620825, u'庄浪县'),
(620826, u'静宁县'),
(620900, u'酒泉市'),
(620901, u'市辖区'),
(620902, u'肃州区'),
(620921, u'金塔县'),
(620922, u'瓜州县'),
(620923, u'肃北蒙古族自治县'),
(620924, u'阿克塞县'),
(620981, u'玉门市'),
(620982, u'敦煌市'),
(621000, u'庆阳市'),
(621001, u'市辖区'),
(621002, u'西峰区'),
(621021, u'庆城县'),
(621022, u'环县'),
(621023, u'华池县'),
(621024, u'合水县'),
(621025, u'正宁县'),
(621026, u'宁县'),
(621027, u'镇原县'),
(621100, u'定西市'),
(621101, u'市辖区'),
(621102, u'安定区'),
(621121, u'通渭县'),
(621122, u'陇西县'),
(621123, u'渭源县'),
(621124, u'临洮县'),
(621125, u'漳县'),
(621126, u'岷县'),
(621200, u'陇南市'),
(621201, u'市辖区'),
(621202, u'武都区'),
(621221, u'成县'),
(621222, u'文县'),
(621223, u'宕昌县'),
(621224, u'康县'),
(621225, u'西和县'),
(621226, u'礼县'),
(621227, u'徽县'),
(621228, u'两当县'),
(622900, u'临夏州'),
(622901, u'临夏市'),
(622921, u'临夏县'),
(622922, u'康乐县'),
(622923, u'永靖县'),
(622924, u'广河县'),
(622925, u'和政县'),
(622926, u'东乡族自治县'),
(622927, u'积石山县'),
(623000, u'甘南州'),
(623001, u'合作市'),
(623021, u'临潭县'),
(623022, u'卓尼县'),
(623023, u'舟曲县'),
(623024, u'迭部县'),
(623025, u'玛曲县'),
(623026, u'碌曲县'),
(623027, u'夏河县'),
(630000, u'青海省'),
(630100, u'西宁市'),
(630102, u'城东区'),
(630103, u'城中区'),
(630104, u'城西区'),
(630105, u'城北区'),
(630121, u'大通回族土族自治县'),
(630122, u'湟中县'),
(630123, u'湟源县'),
(632100, u'海东地区'),
(632121, u'平安县'),
(632122, u'民和县'),
(632123, u'乐都县'),
(632126, u'互助县'),
(632127, u'化隆回族自治县'),
(632128, u'循化县'),
(632200, u'海北州'),
(632221, u'门源县'),
(632222, u'祁连县'),
(632223, u'海晏县'),
(632224, u'刚察县'),
(632300, u'黄南州'),
(632321, u'同仁县'),
(632322, u'尖扎县'),
(632323, u'泽库县'),
(632324, u'河南县'),
(632500, u'海南州'),
(632521, u'共和县'),
(632522, u'同德县'),
(632523, u'贵德县'),
(632524, u'兴海县'),
(632525, u'贵南县'),
(632600, u'果洛州'),
(632621, u'玛沁县'),
(632622, u'班玛县'),
(632623, u'甘德县'),
(632624, u'达日县'),
(632625, u'久治县'),
(632626, u'玛多县'),
(632700, u'玉树州'),
(632721, u'玉树县'),
(632722, u'杂多县'),
(632723, u'称多县'),
(632724, u'治多县'),
(632725, u'囊谦县'),
(632726, u'曲麻莱县'),
(632800, u'海西州'),
(632801, u'格尔木市'),
(632802, u'德令哈市'),
(632821, u'乌兰县'),
(632822, u'都兰县'),
(632823, u'天峻县'),
(640000, u'宁夏回族自治区'),
(640100, u'银川市'),
(640101, u'市辖区'),
(640104, u'兴庆区'),
(640105, u'西夏区'),
(640106, u'金凤区'),
(640121, u'永宁县'),
(640122, u'贺兰县'),
(640181, u'灵武市'),
(640200, u'石嘴山市'),
(640201, u'市辖区'),
(640202, u'大武口区'),
(640205, u'惠农区'),
(640221, u'平罗县'),
(640300, u'吴忠市'),
(640301, u'市辖区'),
(640302, u'利通区'),
(640323, u'盐池县'),
(640324, u'同心县'),
(640381, u'青铜峡市'),
(640400, u'固原市'),
(640401, u'市辖区'),
(640402, u'原州区'),
(640422, u'西吉县'),
(640423, u'隆德县'),
(640424, u'泾源县'),
(640425, u'彭阳县'),
(640500, u'中卫市'),
(640501, u'市辖区'),
(640502, u'沙坡头区'),
(640521, u'中宁县'),
(640522, u'海原县'),
(650000, u'**自治区'),
(650100, u'乌鲁木齐市'),
(650101, u'市辖区'),
(650102, u'天山区'),
(650103, u'沙依巴克区'),
(650104, u'新市区'),
(650105, u'水磨沟区'),
(650106, u'头屯河区'),
(650107, u'达坂城区'),
(650108, u'东山区'),
(650121, u'乌鲁木齐县'),
(650200, u'克拉玛依市'),
(650201, u'市辖区'),
(650202, u'独山子区'),
(650203, u'克拉玛依区'),
(650204, u'白碱滩区'),
(650205, u'乌尔禾区'),
(652100, u'吐鲁番地区'),
(652101, u'吐鲁番市'),
(652122, u'鄯善县'),
(652123, u'托克逊县'),
(652200, u'哈密地区'),
(652201, u'哈密市'),
(652222, u'巴里坤县'),
(652223, u'伊吾县'),
(652300, u'昌吉州'),
(652301, u'昌吉市'),
(652302, u'阜康市'),
(652303, u'米泉市'),
(652323, u'呼图壁县'),
(652324, u'玛纳斯'),
(652325, u'奇台县'),
(652327, u'吉木萨尔县'),
(652328, u'木垒县'),
(652700, u'博尔塔拉蒙古自治州'),
(652701, u'博乐市'),
(652722, u'精河县'),
(652723, u'温泉县'),
(652800, u'巴音郭楞蒙古自治州'),
(652801, u'库尔勒市'),
(652822, u'轮台县'),
(652823, u'尉犁县'),
(652824, u'若羌县'),
(652825, u'且末县'),
(652826, u'焉耆县'),
(652827, u'和静县'),
(652828, u'和硕县'),
(652829, u'博湖县'),
(652900, u'阿克苏地区'),
(652901, u'阿克苏市'),
(652922, u'温宿县'),
(652923, u'库车县'),
(652924, u'沙雅县'),
(652925, u'新和县'),
(652926, u'拜城县'),
(652927, u'乌什县'),
(652928, u'阿瓦提县'),
(652929, u'柯坪县'),
(653000, u'克州'),
(653001, u'阿图什市'),
(653022, u'阿克陶县'),
(653023, u'阿合奇县'),
(653024, u'乌恰县'),
(653100, u'喀什地区'),
(653101, u'喀什市'),
(653121, u'疏附县'),
(653122, u'疏勒县'),
(653123, u'英吉沙县'),
(653124, u'泽普县'),
(653125, u'莎车县'),
(653126, u'叶城县'),
(653127, u'麦盖提县'),
(653128, u'岳普湖县'),
(653129, u'伽师县'),
(653130, u'巴楚县'),
(653131, u'塔什库尔干县'),
(653200, u'和田地区'),
(653201, u'和田市'),
(653221, u'和田县'),
(653222, u'墨玉县'),
(653223, u'皮山县'),
(653224, u'洛浦县'),
(653225, u'策勒县'),
(653226, u'于田县'),
(653227, u'民丰县'),
(654000, u'伊犁州'),
(654002, u'伊宁市'),
(654003, u'奎屯市'),
(654021, u'伊宁县'),
(654022, u'察布查尔县'),
(654023, u'霍城县'),
(654024, u'巩留县'),
(654025, u'新源县'),
(654026, u'昭苏县'),
(654027, u'特克斯县'),
(654028, u'尼勒克县'),
(654200, u'塔城地区'),
(654201, u'塔城市'),
(654202, u'乌苏市'),
(654221, u'额敏县'),
(654223, u'沙湾县'),
(654224, u'托里县'),
(654225, u'裕民县'),
(654226, u'和布克赛尔蒙古自治县'),
(654300, u'阿勒泰地区'),
(654301, u'阿勒泰市'),
(654321, u'布尔津县'),
(654322, u'富蕴县'),
(654323, u'福海县'),
(654324, u'哈巴河县'),
(654325, u'青河县'),
(654326, u'吉木乃县'),
(659000, u'省直辖行政单位'),
(659001, u'石河子市'),
(659002, u'阿拉尔市'),
(659003, u'图木舒克市'),
(659004, u'五家渠市')]

card.py

代码如下

# -*- coding: utf-8 -*-

import random, datetime

'''
排列顺序从左至右依次为:六位数字地址码,八位数字出生日期码,三位数字顺序码和一位校验码:
1、地址码
表示编码对象常住户口所在县(市、旗、区)的行政区域划分代码,按GB/T2260的规定执行。
2、出生日期码
表示编码对象出生的年、月、日,按GB/T7408的规定执行,年、月、日代码之间不用分隔符。
3、顺序码
表示在同一地址码所标识的区域范围内,对同年、同月、同日出生的人编定的顺序号,顺序码的奇数分配给男性,偶数分配给女性。
4、校验码计算步骤
(1)十七位数字本体码加权求和公式
S = Sum(Ai * Wi), i = 0, ... , 16 ,先对前17位数字的权求和
Ai:表示第i位置上的身份证号码数字值(0~9)
Wi:7 9 10 5 8 4 2 1 6 3 7 9 10 5 8 4 2 (表示第i位置上的加权因子)
(2)计算模
Y = mod(S, 11)
(3)根据模,查找得到对应的校验码
Y: 0 1 2 3 4 5 6 7 8 9 10
校验码: 1 0 X 9 8 7 6 5 4 3 2
''' def getValidateCheckout(id17):
'''获得校验码算法'''
weight = [7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2] # 十七位数字本体码权重
validate = ['1', '0', 'X', '9', '8', '7', '6', '5', '4', '3', '2'] # mod11,对应校验码字符值 sum = 0
mode = 0
for i in range(0, len(id17)):
sum = sum + int(id17[i]) * weight[i]
mode = sum % 11
return validate[mode] def getRandomIdNumber(sex=1):
'''产生随机可用身份证号,sex = 1表示男性,sex = 0表示女性'''
# 地址码产生
from addr import addr # 地址码
addrInfo = random.randint(0, len(addr)) # 随机选择一个值
addrId = addr[addrInfo][0]
addrName = addr[addrInfo][1]
idNumber = str(addrId)
# 出生日期码
start, end = "1960-01-01", "2000-12-30" # 生日起止日期
days = (datetime.datetime.strptime(end, "%Y-%m-%d") - datetime.datetime.strptime(start, "%Y-%m-%d")).days + 1
birthDays = datetime.datetime.strftime(
datetime.datetime.strptime(start, "%Y-%m-%d") + datetime.timedelta(random.randint(0, days)), "%Y%m%d")
idNumber = idNumber + str(birthDays)
# 顺序码
for i in range(2): # 产生前面的随机值
n = random.randint(0, 9) # 最后一个值可以包括
idNumber = idNumber + str(n)
# 性别数字码
sexId = random.randrange(sex, 10, step=2) # 性别码
idNumber = idNumber + str(sexId)
# 校验码
checkOut = getValidateCheckout(idNumber)
idNumber = idNumber + str(checkOut)
return idNumber, addrName, addrId, birthDays, sex, checkOut def getInfoFromId(id18):
'''从身份证号码中得出个人信息:地址、生日、性别'''
addrId = id18[0:6]
from addr import addr # 地址码
for it in addr:
if addrId == str(it[0]): # 校验码
addrName = it[1]
break
else: # 未被break终止
addrName = 'unknown' birthDays = datetime.datetime.strftime(datetime.datetime.strptime(id18[6:14], "%Y%m%d"), "%Y-%m-%d")
sex = 'man' if int(id18[-2]) % 2 else 'woman' # 0为女性,1为男性 return addrName, birthDays, sex def createPhone():
prelist=["130","131","132","133","134","135","136","137","138","139","147","150","151","152","153","155","156","157","158","159","186","187","188"]
return random.choice(prelist)+"".join(random.choice("0123456789") for i in range(8)) if __name__ == '__main__':
# print getValidateCheckout("11111111111111111")#该身份证校验码:0
print getRandomIdNumber(0)
cid = getRandomIdNumber(0)[0]
print createPhone()
print cid
print getInfoFromId('522424199512121010')

以上两种方法都可以实现随机手机号和身份证号的,如何使用该方法呢?

#导入随机身份证的方法
from mztestpro.package import card
# 随机身份证的验证
employee_id = card.getRandomIdNumber(0)[0]
phone = card.createPhone()

这样即可完成随机手机号和身份证号的输入了。

参考

skytraveler博客地址---身份证号码自动生成程序(Python) https://www.cnblogs.com/skytraveler/p/3913501.html

异彩飞天博客地址---Python 随机生成有效手机号码及身份证

https://www.cnblogs.com/yicaifeitian/p/4668769.html