how to convert pdf file to Excel file using Django - django

I am trying to convert pdf file to Excel using Django, please anyone can help me how to convert pdf to excel in format way. I am trying, but the format does not work properly and also how to creating a download link for excel file.
It is possible to convert pdf to xlxs file in format way in Django ..?
please help how to do.

Django is a web framework, so i suppose your question was that how you can do that in Python. You can use this python library to convert the pdf to excel or CSV
https://pdftables.com/blog/pdf-to-excel-with-python

Related

Export data from GBQ into CSV with specific encoding

Im using GBQ, I want to export the results of a query into CSV file.
The data is larger than 20M lines so Im using this option :
In my query results I have some text in french, that is being saved in bad encoding to CSV.
Is there a way to define the encoding on Saving step in GBQ ?
Thank you
You can write simple Python script (or another language that made you feel comfortable) to query and save the result by using Python code. So you can use any encoding you want to save your result to CSV file.

Python:Excel unreadable content in file

When I try to download excel by web from python xlsxwriter. It given me the message
Excel found unreadable content in file. Do you want to recover the
contents of this workbook?
when I opened the file excel which i download. Please help me to solve it. Thanks

converting a large number of excel files into a single mysql table

I am using microsoft visual studio 10 c++ and mysql workbench.I have a large number of excel files and i want to update the content of all excel files into a single mysql table.I can create a csv file for each excel file and then import it but i want it to be done with the help of a stored procedure.I want to use c++.And this procedure has to be repeated with different excel files.
i was thinking of connecting my c++ program to both excel and mysql simultaneously(is it possible?) and reading the excel files and adding the data into the mysql table.
i have already connected my program to mysql database.
Any other approach would be appreciated.
In MySQL Store Procedure it will not accept bulk load or CSV import But You can use without SP. Better Try to import using C++.

How to save data in Sanskrit language to Excel in Python

I want to save the data from the following page into an Excel sheet using Python. Can anyone please tell me which encoding should I use so that the data is saved in correct format?
http://dsalsrv02.uchicago.edu/cgi-bin/philologic/getobject.pl?c.0:5.apte

how can i read datasets in Weka?

I want to use some of the datasets available at the website of the Weka to perform some
experiments with Neural Networks.
What do I have to do to read the data?
I downloaded the datasets and they were saved as .arff.txt so I deleted the extension of .txt to have only .arff. So I used this file as an ipnut but an error occurs.
Which is the right way to read data?
Do I have to write code?
Please help me.
Thank you
I'm using Weka 3.6.6 and coc81.arff opens just fine. You are using Weka 3.7.x, which is the development branch of Weka. I suggest that you download 3.6.6 or 3.6.7 (the latest stable release) and try to open the file again.
There is also another simple throw...
open your dataset file in excel in my case MS Excel2010, format fields intype.
and save as 'csv',
then reload that csv file in the weka explorer and save on the local drive as arff format.
may be this help.