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 tell you how to read text file content and get the words count in the text file in python. This example is created with eclipse PyDev plugin, you can read article in reference section to learn more about PyDev.
This article will tell you how to use the python os.path and pathlib module to operate files. They are listed below. Check if a file exists or not, create file if not exists. Check if a file is a directory or a file. Check if the file is readable, writable, or executable. How to create …
This example will show you how to use PyPDF2, textract and nltk python module to extract text from a pdf format file. 1. Install PyPDF2, textract and nltk Python Modules. Open a terminal and run below command to install above python library. pip install PyPDF2 pip install textract pip install nltk When install textract, you …
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 user are familiar with it. Besides java project, it can also be used to develop Python application. This article just want to tell you how to use it to develop Python application.