Scraping and downloading multiple files from web with Python

In recent posts, we have discussed some methods to scrap and download resources from the web. If you just want to download a few files, it doesn’t matter to iterate…

An introduction to Selenium with Python

  https://selenium-python.readthedocs.io/index.html

Parse HTML Document using XPath with lxml in Python

As long as we find a webpage where having data of interest, we sometimes want to extract them automatically but don’t know how to do quickly. Thank to the lxml…

Download Files in Python using the urllib Module

In the former posts, we have shared the methods to download files from the web using the requests or wget module. As we know, they are external modules which we…

Downloading Files in Python Using wget Module

In a recent post about downloading files in Python, we have learned how to use the requests module to check downloadable resources and restrict some measures to grab remote files.…

Downloading Files In Python Using Requests Module

This post aims to present you how to download a resource from the given URL using the requests module. Of course, there are other modules which allow you to accomplish…

Read and write with file CSV in Python

[dropcap]I[/dropcap]t is possible to read and write CSV (comma separated values) files using Python 2.4 Distribution. Like most languages, file operations can be done with Python. Writing a CSV file with Python can be…

How to use urllib in Python

[dropcap]T[/dropcap]oday, with the development of the internet, network programming to exchange packets is no longer as complicated as it was a few decades ago. Python is no exception when it…

Using Feedparser in Python to read RSS

In this post, we will take a closer look at how to fetch and parse syndicated feeds with Feedparser library in Python. The detailed documentation of this library can be…

Array, List, etc. with String Indices

(Tiếng Việt) Trong lập trình, chúng ta cũng hay gặp nhiều trường hợp phải tạo một danh mục mà index của nó là các chuỗi kí tự. Có một khái niệm để mô tả loại đối tượng này, thường gọi là HashMap hay HashTable.