Python is an interpreted, high-level, general-purpose programming language. Created by Guido van Rossum and first released in 1991.
In this page, we write some tutorials and examples on how to use python to programming, you can build some excellent applications by following our tutorials and examples.
If you plan to make a python script be started at specified time every day in windows, the best solution is to use task scheduler. In this tutorial, we will tell you how to create a scheduled task to run a python script.
We can count the number of vowels in a string easily in python, it can help us to analysis text for nlp problem. In this tutorial, we will use a simple example to show you how to count.
If you plan to create a python website spider, you have to extract urls from page content or xml sitemap. In this tutorial, we will introduce how to extract these urls for your website spider.
cp936 and utf8 are two character encoding methods. What is the difference between them? We will discuss this difference in this tutorial, which is very useful when you are reading file using python.
Text file, such as .txt, .csv, .xml et al, is encoded by special character encoding (utf-8, gbk, gb2312, …). How to get the character encoding of a text file? We will use a simple python example to show you how to do.
The default source url of python pip is:https://files.pythonhosted.org/. This site may be very slow and may cause you to fail to install python packages. In this tutorial, we will introduce you how to change the mirror url of python pip.
raw.githubusercontent.com is not accessed in china, if you plan to download some files from this domain, how to do? In this tutorial, we will introduce how to fix this problem and make you can download files from raw.githubusercontent.com in china.
In this tutorial, we will focus on how to extract different region of two images by python pillow package, which is very useful when you are processing images.
When you are learning python class programming, you may find two kinds of class methods:@classmethod and @staticmethod. In this tutorial, we will use some examples to show you how to understand and use them correctly.
Python tuple, list and dict are widely used to save data in python application. How to check they are empty? To answer this question. We will write some examples to explain it for you in this tutorial.