相关代码:
file=open('index.html','r')
index_content+=file.read()
file.close()
有没有办法实现呢?
操作文件系统当然是可以的,你的文件系统里有这个html文件?
我误会了,,多谢。。