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.
We often use python list to contain some elements, in order to analysis these elements, we often need to count their frequency and proportion. In this tutorial, we will illustrate python beginners how to do.
Python os.popen() can allow us to call other applications by command line (cmd). However, you may find this error when reading the output: UnicodeDecodeError: ‘gbk’ codec can’t decode byte. In this tutorial, we will introduce you how to fix it.
Python subprocess.Popen() is one of best way to call external application in python. In this tutorial, we will introduce python beginners how to use this function correctly and get the output of child program.
python os.popen() and os.system() can allow python script to call other applications, however, there some differences between them. In this tutorial, we will discuss these differences.
In this tutorial, we will introduce random.sample() function, which will capture some random elements from a python sequence. It is very helpful to generate a randomized sequence.
In python, we can use random.shuffle() to randomize all elements in a sequence. However, to use this function correctly, there are some notices you should concern. In this tutorial, we will discuss this function.
Sometimes, we need combine some text files into one file to read and process. We can implement this function easily in python. In this tutorial, we will illustrate python beginners how to do.
To sort a python list, we can use list sort() and sorted() function. What is the difference between them? In this tutorial, we will discuss this topic.
Sometimes, you may find the eclipse console is not displayed on its main window. If you want to make it attach to the main window of eclipse, this tutorial will help you.
After you have started jupyter notebook, it will load a directory as its workspace. How to change this working directory? In this tutorial, we will tell python beginners how to do.