I’m new to python and I need to know if there is and equivalent to perl’s LWP and HTTP::Parse. I’ve a perl script to get the content from an URL and parsing it and I would like to port it to python.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Look at the Python modules httplib and urllib for the fetching part. There are a couple xml modules in Python for parsing. You could also look at BeautifulSoup which is not part of standard Python modules.