How to get output in a file? - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Homework (https://python-forum.io/forum-9.html) +--- Thread: How to get output in a file? (/thread-9954.html) |
How to get output in a file? - BananaRekt - May-06-2018 Hello, How can python put his output in a file (.docx)? Thanks, if u can help me <3 RE: How to get output in a file? - buran - May-06-2018 python-docx is library to work with docx files. here is the documentation: https://python-docx.readthedocs.io/en/latest/ RE: How to get output in a file? - BananaRekt - May-06-2018 (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. RE: How to get output in a file? - buran - May-06-2018 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
|