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 3 years ago.
Improve this question
I would like to generate automated reports from my python program. I was using pdf reportlab solution before, but my needs are evolving. I need the possibility to comment / apply modifications in the report.
As a result, I was imagining to create an empty LibreOffice writer document (but with logos, first page,
etc. like a template), and from my program, I planned to copy this document, feed it from my python prog data, txt and pictures, and save it with a new name.
Like this, the report is closed to be complete and I can adjust it by myself at the end.
Do you know if it is possible to do that ?
Thanks for your help!
One of the solution I found is to use python docx library. It can open and save docx like document. It should work with writer docs
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 last year.
Improve this question
I'm trying to convert the whole extension of a PDF into a CSV or an xlsx with python and I've hit a wall.
I know that there is an API called PDFTables that works perfectly but the number of documents that I would like to convert (over 400) and the fact that its use involves an economic investment that I can't afford makes its use unfeasible. There is another library that I've tried, tabula, however as far as I know it only works with the tables of the PDF.
With this problem in mind, are there any other options available?
Thank you in advance.
If you don't need it to be programmatic, have you seen https://www.adobe.com/la/acrobat/online/pdf-to-excel.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 6 years ago.
Improve this question
I am looking to make a PDF parser from scratch using Python (or) any leads to tweaking existing libraries/algorithms.
Here you can find some nice tools for your need, like:
pdfrw: Read and write PDF files
slate : Active development. Simplifies extracting text from PDF files
PyPDF2 : Active development. Split, merge, crop, etc
PDFMiner : Active development. Extracting text, images, object coordinates, metadata from PDF file
And there is more in this link.
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 trying to read in data from .xlsx file and store the data in a list or preferably a dictionary in Python. I see there are many modules built for Python for interacting with .xlsx files like openpyxl, xlsxwriter, xlrd, xlwt, xlutiles, and they're all listed here: http://www.python-excel.org/. I would like to know which one is best for reading in data from the .xlsx and storing the data in a dictionary (preferably) or list?
I'm not trying to manipulate any data. i'm just reading the data in from .xlsx, and then writing it out to a csv file.
I'd go with pandas (which uses python-excel under the hood). See the documentation for more details.
If you plan to manipulate the data and run some calculations, DataFrame is a much better data structure than dict or list.
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 4 years ago.
Improve this question
Is there a way to easily output html documentation based on python docstrings?
If there are, how to do this? I am familiar with HTML/CSS so theming the output is not important, but if there are existing themes, they would help.
I am hoping for a process that can be repeated everytime the code is updated.
Epydoc that seems to do what you need
Sphinx is another tool that can be used to create documentation for python, it also supports C and C++.
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 am looking for a Python module that wraps SMBIOS.
If there is none such; do you have any advice on the best way to parse system memory in Python to find the SMBIOS table.
There is information available about how to recognize the table in memory, assuming you can parse memory. I have never tried to parse arbitrary memory in Python; I am sure there would be some issues with access rights...
I'm not aware of anything ready-made.
On Windows, my best suggestion is to use ctypes and load the kernel32 library. See the GetSystemFirmwareTable function. http://msdn.microsoft.com/en-us/library/windows/desktop/ms724379
The raw SMBIOS table provider ('RSMB') retrieves the contents of the raw SMBIOS firmware table.
You would then need to write a class to parse the data.
I don't know about Linux, but I suspect there is something similar to retrieve the SMBIOS table.