May-06-2018, 03:56 PM
Hello, How can python put his output in a file (.docx)?
Thanks, if u can help me <3
Thanks, if u can help me <3
How to get output in a file?
|
May-06-2018, 03:56 PM
Hello, How can python put his output in a file (.docx)?
Thanks, if u can help me <3
May-06-2018, 04:30 PM
python-docx is library to work with docx files.
here is the documentation: https://python-docx.readthedocs.io/en/latest/
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link Create MCV example Debug small programs
May-06-2018, 05:11 PM
(May-06-2018, 04:30 PM)buran Wrote: python-docx is library to work with docx files.I get the error 'No module named docx' when i use that library thing.
it's an external package - i.e. not part of Python standard library. You need to install it first from PyPI. There are installation instructions in the documentation link. Use pip:
pip install python-docx
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link Create MCV example Debug small programs |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Output File ? | Kessie1971 | 11 | 3,794 |
May-11-2023, 08:31 AM Last Post: buran |
|
reading text file and writing to an output file precedded by line numbers | kannan | 7 | 13,431 |
Dec-11-2018, 02:19 PM Last Post: ichabod801 |
|
Multiple XML file covert to CSV output file | krish143 | 1 | 4,019 |
Jul-27-2018, 06:55 PM Last Post: ichabod801 |