Desperate help required for Python assignment

Garry Steedman gs at styrax.com
Wed Oct 17 06:04:05 EDT 2001


Nachiket,

you might want to rethink your approach: mailing lists are not there 
to provide resources to assist you in the avoidance of your education.

you could expect some sympathy if you at least made some effort!

cheers,

Garry

On 17 Oct 2001, at 0:47, Nachiket wrote:

From:           	nachiket_gole at hotmail.com (Nachiket)
Subject:        	Desperate help required for Python assignment
Organization:   	http://groups.google.com/
To:             	python-list at python.org
Date sent:      	17 Oct 2001 00:47:07 -0700

> I am new to Python doing a crash course in University.  I have a
> assignment to submit in two days the specifications of which are:
> 1.Write a script in python which maps a set of linked webpages.  It
> should take the URL as a command line argument, retireve the page,
> extract the URL's of pages linked to by the page in question and store
> them in a data structure for the page.  It should then repeat this
> with other linked pages to a depth of 5.  It should visit each page
> only once. 2.The script should also be able to take -L as a command
> line argument and that being the case should only follow links on the
> same server as the current site. 3.The script should also record the
> titles of links in the documents eg Mysite -- > http://mysite.com
> 4.Finally all this has to be displayed as a tree for eg >python
> mytest.py "some url"
>  http://.....
>    + http://........
>    + http://.......
>       + http://......
>  Please can some of the Gurus on this newsgroup help me out with a
> working solution as with my limited knowledge i am no position to
> handle this assignment in two days.
> 
> Regards
> -- 
> http://mail.python.org/mailman/listinfo/python-list


+-------------------------------------------+
  Garry Steedman      mailto:gs at styrax.com  
  Styrax Associates  http://www.styrax.com/ 

  "The Good Man has no shape."            
+-------------------------------------------+




More information about the Python-list mailing list