Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I need to create pdf using python. The data that I have is dynamic and needs multiple pages. Matplotlib is good but it has some limitations. Can someone suggest any python packages to create the pdf?
you can use this PyPDF2
for example:
from PyPDF2 import PdfFileReader, PdfFileWriter
for learn more go to https://realpython.com/creating-modifying-pdf/
You can use pdfme. It's the most powerful library in python to create PDF documents.
You can check the docs here
Try taking a look at PyFPDF.
Check out the docs here.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I generated some barcode files using python-barcode as png image files.
and I would like to know the best way to actually print those image files on actual paper using the system printer.
Bulk processing is the way for me.
Any hint would be much appreciated.
maybe it works pywin32 , sample document link
http://timgolden.me.uk/python/win32_how_do_i/print.html
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm teaching myself Python and have been experimenting with sl4a to interact with Android features like GPS and text to speech with codes like
import androidhelper
droid = androidhelper.Android()
location = droid.getLastKnownLocation().result
location = location.get('network', location.get('gps'))
and
import sl4a
droid = sl4a.Android()
droid.ttsSpeak("Hello World.")
I've been searching for a similar Python API module to access Windows 10 features on a PC but it seems to be much more complex.
Is there a relatively simply way to accomplish what I'm trying to do?
As far as TTS is concerned, use gTTS.
For geolocation, use any of the tons of RESTful APIs like FreeGeoIP. Next parse the JSON returned and you're good to go!
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
How can I implement a progress bar like apt, so that it won't interfere with other output?
Any language would be fine.
You can try to use tqdm library.
Example from their github page:
from tqdm import tqdm
for i in tqdm(range(100)):
print(i)
You can look at their source code and see how it's implemented. I think they use the best practices in this subject:
tqdm on github
Note that there also exists other libraries in python and other languages so you can check them out as well.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'm looking for a tool where I can reliable convert a pdf to an excel spreadsheet from the commandline (as I would like to use a script to automate this).
I need something that will properly convert the pdf, as you would using Acrobat Pro or similar programs.
pdftotext This command will help you to convert pdf to text. Excel has the capability to import text data. If you prefer to convert text data to csv please refer the answer given here
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I have a large amount of document in different format, e.g. doc, xls, ppt, docx, odf, etc. I am looking for a Linux library, which allow me to convert different kinds of document to PDF with a command.
Is this library exist? Do you have any suggestion?
Thanks everyone. :)
A good place to start would probably be the source code of LibreOffice.
It's not a "library" as such, but you can use OpenOffice conversions from the command line: http://www.oooforum.org/forum/viewtopic.phtml?t=7242