from html import HTML

def main():
h = HTML('html', "Kim_Jun_Hyeon")
h.body("<p>\"hello world\"</p>", escape = False)
f = open("stu.html","w")
h = str(h)
f.write(h)
print h
if __name__ == "__main__":
main()


'언어 > python' 카테고리의 다른 글

python matplotlib 증가하는 지수함수 그래프  (0) 2017.12.26
parsing [re]  (0) 2017.12.18
capche  (0) 2017.12.13
크롤링  (0) 2017.11.26
회사에서 사용할 자동화 툴 ( excel + python)  (0) 2017.11.22