หน้าเว็บ

วันอาทิตย์ที่ 25 มกราคม พ.ศ. 2558

22 january 2015

html Table form .csv file with python





------------------------

#!/usr/bin/python
print"content-type: text/html\n\n"
print"<head>"
print"<title>Lecture</title>"
print"<style type = 'text/css'>"
print".style1{font-size: xx-large;"+"font-weight:bold;"+"color: #CC33FF;"+"}"+"body{background-color:#FFCCFF}"
print"</style>"
print"</head>"
print"<body>"
print"<b>"+"<p align =\"center\"><spen class=\"style1\">Lecture Date:011215</span></p>"+"</b></br>\n"
print"<p><strong>Ubuntu Linux </strong>:: free ware/open source </p>\n"
print"<p><strong>Browser </strong></br>&nbsp;&nbsp;&nbsp;:: Client - Server </br>&nbsp;&nbsp;&nbsp;:: Browser Render HTML Language</br>&nbsp;&nbsp;&nbsp;:: python -m SimpleHTTPServer [serving HTTP on 0.0.0.0 port 8000]</br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:  http://0.0.0.0:8000</br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: Browser isn't render python code</p>\n"
print"</br></br><p align=\"center\"><img src=\"http://www.picgifs.com/clip-art/cartoons/snoopy/clip-art-snoopy-346942.jpg\" alt=\"Simple\" style=\"width:212px;height:300px\"></img></p></br>"
print"</body>\n""
print""+"
Lecture Date:011215

ไม่มีความคิดเห็น:

แสดงความคิดเห็น