Python and WWW »

My Coding > Programming language > Python > Python and WWW

Python and WWW

Python 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 information

Special files

For 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 upload

For general working with information in the Internet, packages requests and requests_toolbelt are specially designed.

Recognising HTML

For analysing HTML, try to avoid using regexp. This is very wrong strategy. It is much easier to use standard libraries for HTML analysis:

Published: 2023-02-04 15:27:07

Last 10 artitles

9 popular artitles

© 2020 -My blog about coding and further learning. This blog was writen with pure Perl and front-end output was performed with TemplateToolkit.