python-docx: Create and Modify Word Documents #python
python-docx is a Python library for reading, creating, and updating Microsoft Word 2007+ (.docx) files.
Installation
Example
https://t.iss.one/DataScienceN🚗
python-docx is a Python library for reading, creating, and updating Microsoft Word 2007+ (.docx) files.
Installation
pip install python-docx
Example
from docx import Document
document = Document()
document.add_paragraph("It was a dark and stormy night.")
<docx.text.paragraph.Paragraph object at 0x10f19e760>
document.save("dark-and-stormy.docx")
document = Document("dark-and-stormy.docx")
document.paragraphs[0].text
'It was a dark and stormy night.'
https://t.iss.one/DataScienceN
Please open Telegram to view this post
VIEW IN TELEGRAM
❤2👍2
This media is not supported in your browser
VIEW IN TELEGRAM
Data scientists, this is for you — I dug up LeetCode for DS
DataLemur — a powerful platform that collects real interview problems from Tesla, Facebook, Twitter, Microsoft, and other top companies
Inside: practical tasks on SQL, statistics, Python, and ML. You can filter by difficulty level and company
Top-notch for those preparing for interviews for Data Scientist / Data Analyst roles. Get it here🍯
👉 https://t.iss.one/DataScienceN 👍
DataLemur — a powerful platform that collects real interview problems from Tesla, Facebook, Twitter, Microsoft, and other top companies
Inside: practical tasks on SQL, statistics, Python, and ML. You can filter by difficulty level and company
Top-notch for those preparing for interviews for Data Scientist / Data Analyst roles. Get it here
Please open Telegram to view this post
VIEW IN TELEGRAM
❤2