Python and Excel Programming With OpenPyXL (Udemy.com)
Use OpenPyXL To Connect Python And Excel - Unlock The Power Of Python Programming and Excel Spreadsheets
Created by: John Elder
Last updated November 2023
What you will learn
- Learn How To Use Python and Excel together with OpenPyXL
- How to Install and Use The OpenPyXL Library For Python
- How To Connect and Excel Spreadsheet to Your Python Code
- Create Spreadsheets Using Python
Course Description
In this course you'll learn how to use the OpenPyXL Library for Python to connect your Python programs to Excel and vice versa.
Using OpenPyXL, you can use Python to do all sorts of cool things in Excel; from creating spreadsheets from your code, to updating existing spreadsheets. You'll be able to load data from a spreadsheet into your python program and do anything you want with it, and then save it back to the spreadsheet.
We'll learn how to style spreadsheets using Python, and also how to make basic charts and graphs in a spreadsheet using Python.
You'll learn...
- Install Python
- Install Sublime Text and Git Bash Terminal
- Set up a Virtual Environment
- Install OpenPyXL
- Create a First Python Program
- Load an Excel Spreadsheet Workbook into a Python Program
- Grab a Spreadsheet Cell Programatically
- Grab whole Columns and Rows from a Spreadsheet with Python
- Change the Data in your Spreadsheet using Python
- Save Changed Spreadsheets from your Python Program
- How to Loop Though A Spreadsheet programatically with Python
- Learn How To Create an Excel Spreadsheet from scratch with Python
- Use Excel Formulas in your Python Code
- Change The Font color, size, boldness, italics and more With Python
- Add Borders to Cells in your Spreadsheet with Python
- Create Pie Charts With Python
- Create Bar Charts With Python
- Create Line Charts With Python
- and More!
At the end of this course you'll be able to use Python to do all sorts of fun things with Spreadsheets, all from your python programs!
See you inside!
- John Elder
Instructor Details
- 4.4 Rating
322 Reviews
John Elder
John Elder is a pioneer in Web Development who created one of the first Internet advertising networks back in 1997. He sold it to a publicly traded company at the height of the dot com boom and then went on to create the best-selling Submission-Spider search engine submission software that's been used by over 3 million individuals and small businesses in over 45 countries.
Today he teaches Web Development courses at Codemy the online code school he founded.
John graduated with honors with a degree in Economics from Washington University in St. Louis where he was an ArtSci Scholar.
More courses by John Elder
Intro To PostgreSQL Databases With PgAdmin For Beginners (2023)
4.5 (7,751 Reviews)
Provider: Udemy
Time: 2h
$54.99
Build An API With The Django Rest Framework Using Python (2023)
4.5 (1,229 Reviews)
Provider: Udemy
Time: 1.4h
$54.99
Top Node and Javascript Bundle: Learn Node and JS (2023)
4.3 (1,126 Reviews)
Provider: Udemy
Time: 8.2h
$11.99
More Python courses
Python 3: Deep Dive (Part 1 - Functional) (2024)
4.9 (13,534 Reviews)
Provider: Udemy
Time: 45.8h
$22.99
Python 3: Deep Dive (Part 3 - Dictionaries, Sets, JSON) (2023)
4.9 (1,996 Reviews)
Provider: Udemy
Time: 21.9h
$17.99
Programming for Everybody (Getting Started with Python)
4.9 (717 Reviews)
Provider: Coursera
Time: 12h
Free
An Introduction to Interactive Programming in Python (2013)
4.9 (554 Reviews)
Provider: Coursera
Time: 6h 40m
Free
Python: Python Programming Language | Tutorial | Beginner (2023)
4.9 (239 Reviews)
Provider: Udemy
Time: 5.1h
$19.99
An Introduction to Interactive Programming in Python (Part 2)
4.9 (225 Reviews)
Provider: Coursera
Time: 25h
Free
Reviews
By César Edinson Escalante Coterio on 10/13/2023
Un gran profesor. Va a lo esencial, paso a paso. Deja espacio para el autoestudio, la prueba por cuenta propia. Me imagino un segundo nivel de este curso, por ejemplo, interacción de OpenPyXL, xlwings y Excel. Mil gracias.
By Rodger Fields on 7/14/2023
Not a fan of Sublime Text. Setting up the virtual environment seemed very Windows specific. Even so, an EXCELLENT course! John's a great teacher.
By Edward Rodman on 11/24/2021
Just a note for iPad users, although i have windows pc’s and a Mac, i love using my iPad whenever i can and there is an app named Carnets and it’s free. So far, all the code works with it in a Jupiter notebook. I installed all the applications on my windows laptop but i decided to try the iPad and it works. WOW amazing Carnets works and its a free app!!!
By Richard Haynes on 7/24/2021
Course structure and instruction was very good. The one issue is the omission of a few BASIC things like add and delete rows and columns, copy and delete regions of data (slice), and possibly create and delete sheets in the workbook. All instruction was without error and very clear, just wish the above mentioned had been included. For me those are very important.
By Hébert Landu on 7/18/2021
Très bon cours, bien expliqué, j’ai vraiment appris et apprécié. J’avais mes sous-titres cela m’a permis de lire ce que je n’entendais pas facilement. Thanks you John
By Sheelah Turner on 7/12/2021
Good content. I find it sometimes difficult to understand exactly what element is being referred to, as the instructor uses the word "THING" all the time to refer to any element from variable, to a library, to a line of code, to an excel spreadsheet, to a tab name. Language is very important when teaching, and attention to language detail would make it infinitely easier to follow.
By Patrice Guilemond on 1/7/2021
I think this course is great for people with no previous experience in Python or programming, as you take the time to explain how to set up your environment, and explain with many examples what do what... For someone with a bit more experience in coding, maybe another course more straight to the point would have been more adapted. I would have appreciated maybe a bit more examples for Graphs on how to sort data (alphabetically, by value ascending or descending, ...) how to set background color, .... but we can see that as some homework to dig in the documentation. Thank you very much for your energy and your very detailed clear explanation. I can see you enjoy teaching and sharing. *
By Hassan Habib Khan on 12/15/2020
I am from a finance background so I didn't really understand the coding rules but it is pretty amazing how much you can do with python.
By Rohith Darpal on 11/21/2020
Nice course and Elder did a really good job , the way he teaches is good but too short and very basic there are videos with less than 2 minute duration could have get into more details
By Gary Alford on 11/6/2020
A great introduction for using Python with Excel. I have been writing Excel Macros for years, but I was curious about doing things with Python. The course is quick and gives you a solid introduction to openpyxl. John's presentation of course material is excellent. He is easy to understand and makes learning fun. I think his courses are some of the best.
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 88 / 100









