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
Using Excel SpreadSheets With Python Using OpenPyXL
-
1Introduction
-
2First Things First: How To Get Support Fast!
Check out my student Facebook Group...
It's a great place to get fast support for this course from me, to interact with other students, to post your projects and code, and to access course announcements and extras...
Join Now!
https://www.facebook.com/groups/codemycom/
-
3Install Python
-
4Install Sublime Text Editor and Git Bash Terminal
-
5Create a Virtual Environment
-
6Install OpenPyXL
Creating Charts And Graphs With Python
-
7Create First Python Program
-
8Grab A Cell From A Spreadsheet
-
9Grab a Column Or Row From A Spreadsheet
-
10Grab Ranges of Cells
-
11Iterate Thru Rows of a Spreadsheet
-
12Iterate Thru Columns of a Spreadsheet
-
13Change Cells and Save Spreadsheet
-
14Add Cells To A Spreadsheet (Second Method)
-
15Loop Thru a Spreadsheet and Add Names
-
16Create A Spreadsheet Workbook
-
17Add Data To New Spreadsheet Workbook
-
18Use Excel Formulas With Python
-
19Change Cell Font, Size, Color, Boldness, Italics
-
20Add Borders To Cells in a Spreadsheet