Posted in File Download Flask Python

How To Download File Using Python Flask

Introduction Here I am going to show a simple example on how to download a file from web application using Python Flask. I will download the file which is kept in the server location. The file could be of any type of file, i.e., pdf, text, excel, word etc. In this example there will be a simple UI (user Interface),…

Continue Reading... How To Download File Using Python Flask
Posted in File Python

How to convert file content into PDF document using Python

Introduction I am going to show you how to read file and write to a PDF document using Python 3. The file content may be in any format and it depends on you how you are going to parse it. I am going to show you how to read text file and write into PDF file. I am also going…

Continue Reading... How to convert file content into PDF document using Python
Posted in File Python

How to convert HTML Content into PDF Document using Python

Introduction In my previous tutorial I had shown how to create PDF document using Python 3 but, here we will see how to convert HTML content into PDF document. Sometimes it may be good idea to directly write HTML content into PDF file to print the texts mixing with different styles. In this example I am going to write Italic…

Continue Reading... How to convert HTML Content into PDF Document using Python
Posted in File Python

How to create a PDF File using Python

Introduction In this tutorial I will show you how to write to pdf file using Python 3. I will also create header, footer along with body of the text in the generated pdf file. I will also decorate such text with color and style. I am going to use fpdf library to create pdf file. In order to work with…

Continue Reading... How to create a PDF File using Python
Posted in Python Word

Create Header and Footer in Word Document using Python

Introduction In this guide I will tell you how to create header and footer in word document using Python 3. We will finally create docx file. Sometime you want to write some text in header and footer of word file to enhance the readability of viewers. Headers and footers are linked to a section; this allows each section to have…

Continue Reading... Create Header and Footer in Word Document using Python
Posted in Excel File Java

How to detect and delete empty or blank rows from excel file using Apache POI in Java

Introduction In this guide I will show you how to detect and delete empty rows from excel file using Apache POI in Java. I will see also how to read and write excel file using Apache POI. If you have few cells or columns in a row then you can deal with those empty cells but if you have entire…

Continue Reading... How to detect and delete empty or blank rows from excel file using Apache POI in Java
Posted in AJAX File Upload Flask jQuery Python

AJAX File(s) Upload using Python Flask and jQuery

Introduction We will create an example here and we will show you how to upload single file or multiple files using AJAX and jQuery along with Python Flask technologies. You can either upload single file using browse button or multiple files using browse button by holding CTRL key(in Windows OS) from keyboard while selecting multiple files. The file or files…

Continue Reading... AJAX File(s) Upload using Python Flask and jQuery
Posted in Excel Java

Setting Print Area for Excel Sheet using Apache POI in Java

Introduction In this post we will see how to set print area for excel sheet using apache poi in Java. There may be many number of columns and rows in your excel sheet but you need only few columns and rows to be printed in paper instead of all columns and rows from the sheet then you need to set…

Continue Reading... Setting Print Area for Excel Sheet using Apache POI in Java
Posted in File Upload Flask Python REST

Python Flask REST API Multiple Files Upload

Multiple Files Upload This example is about to upload multiple files using Python Flask REST API. You might have also seen how to upload single file using Python Flask REST API. You may need to upload single or multiple files according to application’s requirements and here I am going to create an example on Python Flask REST API multiple files…

Continue Reading... Python Flask REST API Multiple Files Upload
Posted in File Upload Flask Python REST

Python Flask REST API File Upload Example

File Upload I will create here Python Flask REST API file upload example though you might have seen how to upload file using Python Flask in web application. You may need to upload a single file or multiple files into your application for a reason and here I am going to use light-weight web based Python framework called Flask to…

Continue Reading... Python Flask REST API File Upload Example