哈尔滨网站推广_深圳软件定制_汕头网站推广_株洲做网站多少钱 </body>">

学做网站论坛

东莞网络营销公司、网站推广www、永久使用、不限域名、长沙网站优化公司

免费申请网页?

哈尔滨网站推广_深圳软件定制_汕头网站推广_株洲做网站多少钱

def static_url_modify():page_path = '~'pages = [i for i in os.listdir(page_path) if i.endswith('.html')]for page_i in tqdm(range(len(pages))):index_file = os.path.join(page_path,pages[page_i])f = open(index_file,'r')lines = []for line in f.readlines():new_line = line \# .replace('"image', '"../static/image')# .replace('"icon', '"../static/icon')# .replace('"css', '"../static/css')\# .replace('"js', '"../static/js')\# .replace('"img', '"../static/img')# .replace('assets','../static')# .replace('(assets', '(../static/assets') \# .replace('"assets/', '"../static/assets/') \# .replace('./','../static/')\# .replace('"images/','"../static/images/')\# .replace('"css/', '"../static/css/') \# .replace('"libs/', '"../static/libs/') \# .replace('"scripts/', '"../static/scripts/')\# .replace('\'images', '\'../static/images')lines.append(new_line)new_lines = ''.join(lines)f = open(index_file,'w')f.write(new_lines)f.close() 太原网页设计外贸网站建设推广公司嘉兴网站制作扬州seo泰安网络推广重庆网络推广免费做网站怎么做网站网站优化价格义乌做网站东莞seo优化济南网络优化广州app制作公司wp商城郑州seo广州网站优化推广腾脉网建站网站改版做网站价格廊坊网站优化管理网站绯闻seo设计网页多少钱广州网站维护泉州网站优化seo推广收费郑州网站制作广州网站优化西风seo杭州seo乐云seo顺德网页制作公司

猜你喜欢