📄 assign1.html
字号:
<html><head></head><body><h2 align=center> Assignment #1: Warm up in Python <br> <font color=red>(due May. 5, 2008)</font></h2><h3> Introduction</h3><p>As a warm-up for the programming assignments in this course, the problem set guides you to grasp the mechanism of a client-server system and its main technologies (Web, HTML, URL, HTTP). <p>To do this assignment, you'll need to know how to: </p><ul> <li>program in Python: writing and running Python programs</ul><h3>Tasks </h3><ol><li>Read parts (at least including page 1,7-10, 14,15,24,27) of <a href="../resource/rfc2616.pdf">RFC2616</a><li>Read parts of <a href="http://docs.python.org/index.html">Python Documentation</a>, particularly in the section on <a href="http://docs.python.org/lib/module-httplib.html">httplib -- HTTP protocol client</a><li>Write a simple crawler program (crawlpage.py) in Python. <ul type="disc"> <li> with the <a href="infile.txt">infile.txt</a> as a input, output a result file like <a href="outfile.txt">outfile.txt</a>. "XXXXX" strings in the result file denotes the content of a web page crawed by your python program. </ul></ol><h3>What to hand in </h3><ol><li>Please pack all the files into a single tar.gz file, name it as "assign1-YOURID.tar.gz" and send the package to me by email (fengwenfeng AT gmail.com) with "DS-Assign1-YOURID" as the subject.</ol></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -