Sometimes, we have to crawl all resources in only a site. In that situation, we will have to get domain or subdomain of this site by url. In this tutorial, we will introduce you how to do in python.
When we are crawling some sites using python, we get WinError 10060 error. In this tutorial, we will introduce this error and disucss how to fix it.
string.punctuation is a python constant, which contains some punctuations in english. In this tutorial, we will introduce it and use it to remove punctuations in a text sentence.
When you are processing images using python, you may encounter this error: module ‘scipy.misc’ has no attribute ‘imread’. In this tutorial, we will introduce you how to fix this problem.
To convert images to pdf, we can use python img2pdf or pymupdf. However, there is a problem in these methods, which is one image one pdf page. If you plan to convert all images to one page pdf, how to do?
When you are using python img2pdf library to convert some images to pdf, you may fail to convert if there exists alpha channel in images. In this tutorial, we will introduce you how to convert these images with alpha channel to pdf.
Python Pillow allows us to combine some images with different sizes to one big imge. In this tutorial, we will use some examples to illustrate you how to combine images horizontally and vertically.
The title of a pdf file is very important, however, it is not an easy way to get it. In this tutorial, we will introduce a simple way to extract pdf tile from its content.
When you are using python imageio to process webp images, you may get this runtimeerror: RuntimeError: The freeimage library could not be loaded: Need FreeImage library.
ImageIO can process various of image formats, however, there are also some image formats it can not process. In this tutorial, we will show a full list of image formats that imageio library can process.