我有此错误...有人可以告诉我为什么吗? 预先感谢!
client = MongoClient('localhost', 27017)#CONNECT TO MONGODB
try:
db = client.data
collection = db.Inel
with open("C:\\Users\\Administrator\\Desktop\\python\\RAD_HORA\\json\\" + nombrejson) as f:
json = json.load(f)
a = collection.insert(json)
except arcpy.ExecuteError:
db = client.data
collection = db.Inel
with open("C:\\Users\\Administrator\\Desktop\\python\\RAD_HORA\\json\\" + nombrejson) as f:
json = json.load(f)
a = collection.insert(json)
unindent与任何外部缩进级别不匹配