Automate Excel and Word with Python - Excel Sheet to Word Docs [openpyxl, docxtpl]

  Рет қаралды 7,111

Code First with Hala

Code First with Hala

Күн бұрын

Use an Excel sheet to generate many Word docs. Generate certificates for students based on their data in Excel.
In this video, you will:
- Build a Python automation project
- Install openpyxl
- Install docxtpl
- Load data from Excel with openpyxl
- Use doxtpl to automate Word documents with Python
- Generate Word documents with Python
Source code: github.com/codefirstio/excel-...
Timestamps:
00:00 Introduction and demo
01:27 Installing openpyxl and docxtpl
03:26 Reading rows from Excel with openpyxl
05:48 Generate the certificate Word docs with docxtpl
*************
*Tags*
Python tutorial
openpyxl
openpyxl tutorial
learn openpyx
Python automation project
docxtpl
Python Resume Project
Python Automation GUI Project

Пікірлер: 19
@bigrevkev55
@bigrevkev55 5 ай бұрын
Thank you so much! I'm a college registrar and the company that stores and prints our diplomas was just bought out by a bigger company which has jacked up the annual subscription. So I've created our own. I use a database connection instead of a excel file but it works the same!
@ontenzen3284
@ontenzen3284 Жыл бұрын
Cool tutorial. I haven't tried it myself, but I will definetly come back to this, when I have a similar use case. Keep up the good work.
@lega1985
@lega1985 2 ай бұрын
Спасибо!!! Ты лучшая! Если б мог, то расцеловал!!! Все объяснила очень просто и наглядно!!! ❤❤❤
@fabriciocarranza7044
@fabriciocarranza7044 10 ай бұрын
Amazing. Thank you
@lajonas3628
@lajonas3628 Жыл бұрын
Hi Hala, i apricate your effort,.. thank you for the video
@ibrahimmoawadibrahim7332
@ibrahimmoawadibrahim7332 Жыл бұрын
Great 📃
@naveenkarthik3305
@naveenkarthik3305 3 ай бұрын
Awesome ❤. You are the best Hala.
@asianpsalmshymns
@asianpsalmshymns 5 ай бұрын
Outstanding Explanation Respectable Madam❤
@christianmller7330
@christianmller7330 Ай бұрын
Great video! Is there a way to do the same thing but with tables from excel?
@sayurijurema
@sayurijurema 2 ай бұрын
I am beginner in python, and this video is really easy to understand. But i would like to generate all the certificates as 1 file.docx, how can i change it?
@turtlecode
@turtlecode 8 ай бұрын
Perfect tutorial, thanks
@Abcs-o7j
@Abcs-o7j 5 ай бұрын
How one can extract data like (mp2 = -3.2424) from a large txt file using python programme.??? Please instruct me
@BriNgHouZ
@BriNgHouZ Жыл бұрын
Thanks for the video. How can I make same but for an excel template? Didnt manage to reach the same result with xlwings
@tarasgolovatyj4369
@tarasgolovatyj4369 11 ай бұрын
holllyy. I'm so exited to find this way of doing stuff. Thanks so mush. As all that "Microsoft out of a box office ways" makes me feel too stupid
@alielsheikh8091
@alielsheikh8091 Жыл бұрын
Hello, how can I make my python PyQT5 app with a button to check for updates and deploy my updates remotely online ?
@nict5683
@nict5683 11 ай бұрын
Hey Hala - this was awesome. I am on to the next step of difficulty here - i have multiple rows of data that i need to combine in a single output. The rows will have a common identifier in tuple[0]. 90% of the data in both rows match, but i need a way to pull the unique values from the 10% of columns to the single docx output. Any advice?
@tarasgolovatyj4369
@tarasgolovatyj4369 11 ай бұрын
Hey, why not just to re-make data? Get raw from exel than use some work around to have needed list or dict and use it as you need?
@sanathkumarr9075
@sanathkumarr9075 11 ай бұрын
Its not Looping over generating documents with different data in my case.... Need help
@RadovanPalik
@RadovanPalik Жыл бұрын
You should switch from Python to R and C#. You'll find the world will be nicer and the code faster.
Пишу простую, но реальную программу. Python + Excel.
18:48
Клуб дедов-программистов
Рет қаралды 136 М.
The most important Python script I ever wrote
19:58
John Watson Rooney
Рет қаралды 177 М.
小蚂蚁被感动了!火影忍者 #佐助 #家庭
00:54
火影忍者一家
Рет қаралды 42 МЛН
Я не голоден
01:00
К-Media
Рет қаралды 8 МЛН
Best Toilet Gadgets and #Hacks you must try!!💩💩
00:49
Poly Holy Yow
Рет қаралды 22 МЛН
Пранк пошел не по плану…🥲
00:59
Саша Квашеная
Рет қаралды 7 МЛН
Automatically Fill Word Files with Python
14:35
NeuralNine
Рет қаралды 18 М.
3 PYTHON AUTOMATION PROJECTS FOR BEGINNERS
17:00
Internet Made Coder
Рет қаралды 1,6 МЛН
Python in Excel Review: The Good, The Bad, & The Ugly!
14:42
4 Python GUI Projects with PyQt5 for COMPLETE beginners
2:46:20
Code First with Hala
Рет қаралды 29 М.
docxtpl python library for creating automated reports from word templates
19:31
Что делать если в телефон попала вода?
0:17
Лена Тропоцел
Рет қаралды 3,5 МЛН
Xiaomi SU-7 Max 2024 - Самый быстрый мобильник
32:11
Клубный сервис
Рет қаралды 555 М.
Это - iPhone 16!
16:29
Rozetked
Рет қаралды 450 М.