Python OpenPyXL Tutorial 🔥: modifying Excel files with Python | Python Excel automation

Published: 30 November 2020
on channel: Red Eyed Coder Club
35,559
458

This Python Openpyxl Tutorial is about How to modify Excel (XLSX) files with Python and openpyxl library, and how to save modified data to a separate Excel XLSX file with Python.

This Python Excel automation and Python Openpyxl Tutorial is a quite detailed explanation how to automate Excel with Python, and fit for absolute beginners.

The Python for Excel and Openpyxl Tutorial includes the following topics:
how to open Excel files with Python Openpyxl library
how to get an active spreadsheet
how to get a value of cells in Excel with Python
how to save data to an Excel XLSX file with Python
how to keep Excel formulas in cells when saving to a new file.


Follow me @:
Telegram: https://t.me/red_eyed_coder_club
Twitter:   / codereyed  
Facebook: https://fb.me/redeyedcoderclub

Timecodes:

00:00 - Beginning. The description of the project.
00:40 - Installing Python openpyxl library
01:08 - Reading an excel file with openpyxl library.
01:39 - Getting a working spreadsheet to get data from.
02:46 - The structure of Sheet objects. Iterating through Sheet, and row objects
04:07 - Specifying the range of cells to get.
04:49 - Writing new data to the excel file
06:48 - Saving modified excel file with openpyxl library.


** Web Scraping course **
is available via Patreon here:
  / red_eyed_coder_club  

or its landing:
https://red-eyed-coder-club.github.io...


See Also:
How to read XLSX files and convert them to a list of dictionaries:
   • Python OpenPyXL Tutorial 🔥: how to re...  

Python CSV tutorial:
   • Python CSV tutorial: How to read and ...  


➥➥➥ SUBSCRIBE FOR MORE VIDEOS ➥➥➥
Red Eyed Coder Club is the best place to learn Python programming and Django:
Subscribe ⇢    / @redeyedcoderclub  

Python Openpyxl Tutorial: modifying Excel files | Python Excel automation
   • Python OpenPyXL Tutorial 🔥: modifying...  

#pythonexcel #openpyxl #openpyxltutorial #pythonopenpyxl #pythonexcelautomation