123456789101112131415 |
- from urllib import request
- import re
- import os
- print("nihao")
- line = "益阳,精锐华府(长春东路/近贺家桥北路),[资阳区-资阳城区]长春东路、近贺家桥北路,6549,元/平米"
- splits = line.split(",")
- print(str(splits))
- address1 = splits[0]
- print("splits[2]:" + splits[2])
- splits3 = str(splits[2]).split("]", 1)
- address2 = splits3[1]
- address = address1 + address2
- print("address:" + address)
- print("结束")
|