Python and WWW » |
My Coding >
Programming language >
Python >
Python and WWW
Python and WWWPython give very wide variety of tools for accessing internet, browsing it, sending and receiving data from the WWW. Also Python have a lot of libraries for analysing HTML pages and fetch required information. I will try to describe some of these libraries. Downloading informationSpecial filesFor downloading special information, sometimes it is better to use tools for working with this information. For example, for downloading CSV files from WWW it is much easier to use Pandas library, which can read CSV file and store it in the Pandas dataframe. General download and uploadFor general working with information in the Internet, packages requests and requests_toolbelt are specially designed. Recognising HTMLFor analysing HTML, try to avoid using regexp. This is very wrong strategy. It is much easier to use standard libraries for HTML analysis:
|
Last 10 artitles
9 popular artitles
|
© 2020 MyCoding.uk -My blog about coding and further learning. This blog was writen with pure Perl and front-end output was performed with TemplateToolkit. |