JSON is the standard data format that is used to save and transfer text data between programs. It is independent of the programming language. Python provides a built-in json module to process JSON string and Python object conversion. This article will give you some examples.
This example tells you how to read text file content and get the words count number in the text file use python. This example is created with the eclipse PyDev plugin, you can read an article in the reference section to learn more about PyDev.
This article will tell you some methods about how to use python os.path and pathlib module to operate files. The tasks are listed below. Check if a file exists or not, create the file if not exists. Check if a file is a directory or a file. Check if the file is readable, writable, or …
This example will show you how to use the python modules PyPDF2, textract, and nltk to extract text from a pdf format file. 1. Install Python Modules PyPDF2, textract, and nltk. Open a terminal and run the below command to install the above python library. pip install PyPDF2 pip install textract pip install nltk When …
When you develop a python application with the eclipse PyDev plugin, you always need to use some third-party python module libraries. This article will just tell you how to add library in python eclipse project and how to use the library in your python source code.
Function is the important concept in Python. You can define function to implement special task, and then use it in other python programs. This article will show you how to define python function and how to pass arguments to the function.
Eclipse is the most popular IDE for java development. A lot of users are familiar with it. Besides the java project, it can also be used to develop Python applications. This article just wants to tell you how to use it to develop Python applications.