Category: Python
Python
In this tutorial we will create examples how to read text file and gzip file. We will also create a text file and compress or gzip file. The gzip file or compressed file extension is gz. Prerequisites Python 3.8.1 Import Module Import required module as a first step in the Python script. Read File The…
In this example you will see how to convert docx to pdf in Python programming language. Your word document may contain images, paragraphs, headings, text, table, title etc. This program will put them into a pdf file. Note that this program will convert only word document of docx type. This is a very simple program…
Introduction We will see how to validate a value is numeric or not in Python programming language. Situation may occur when you need to validate the input field’s value is numeric or not. The input field on the form may accept anything unless otherwise you have a client side validation. The user may input anything…