LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Perl's LWP to Python?? (https://www.linuxquestions.org/questions/programming-9/perls-lwp-to-python-451192/)

chutsu 06-03-2006 09:00 AM

Perl's LWP to Python??
 
Hi
I read about how perl can use LWP to retrieve data from the internet, I was wondering if there is an equivalent in python.
Thanks
Chris

megaspaz 06-03-2006 12:45 PM

you probably want wwwlib

chutsu 06-03-2006 03:35 PM

Hi again
I'm a noob so I'm sorry if this question seems stupid, but I was wondering if you can give me a link that shows me what the module/library of wwwlib does in python, cause I can't find it. Just to let you know, I'm trying to start programming a web spider in python, was wondering if you have any good books or guides that teach me how to.
Thanks
Chris

megaspaz 06-05-2006 12:55 PM

Quote:

Originally Posted by SweetChris
Hi again
I'm a noob so I'm sorry if this question seems stupid, but I was wondering if you can give me a link that shows me what the module/library of wwwlib does in python, cause I can't find it. Just to let you know, I'm trying to start programming a web spider in python, was wondering if you have any good books or guides that teach me how to.
Thanks
Chris

sorry, i fscked up... it's not wwwlib, but urllib. it's core for python.

http://docs.python.org/lib/module-urllib.html


All times are GMT -5. The time now is 11:54 PM.