Excel

Batch APIs reduce network round trips

Using Asyncio and Batch APIs for Remote Services

Introduction to Batch APIs In modern Python applications, it’s common to access remote API using REST or other web-based technologies. Batch APIs are capable of processing multiple requests with a single call. You can use batch APIs to reduce the number of network calls to the remote service. This is ideal when you have to …

Using Asyncio and Batch APIs for Remote Services Read More »

Automating Excel with Python Paperback Now Available!

My 10th Python book, Automating Excel with Python is now available on Amazon in Paperback or Kindle versions. In this book, you will learn how to use Python to do the following: Create Excel spreadsheets Read Excel spreadsheets Create different cell types Add and remove sheets Convert Excel spreadsheets into other file types Cell styling …

Automating Excel with Python Paperback Now Available! Read More »

Creating Spreadsheets with OpenPyXL and Python

Reading Excel spreadsheets is all well and good. However, you also need to be able to create or edit a spreadsheet. The focus of this chapter will be on learning how to do that! OpenPyXL lets you create Microsoft Excel spreadsheets with a minimum of fuss. Creating Excel spreadsheets using Python allows you to generate …

Creating Spreadsheets with OpenPyXL and Python Read More »

Reading Spreadsheets with OpenPyXL and Python

There are a couple of fundamental actions that you will do with Microsoft Excel documents. One of the most basic is the act of reading data from an Excel file. You will be learning how to get data from your Excel spreadsheets. Editor’s note: This article is based on a chapter from the book: Automating …

Reading Spreadsheets with OpenPyXL and Python Read More »

Reading Excel Spreadsheets with Python and xlrd

Last month we looked at how to create Microsoft Excel (i.e. *.xls) files using the xlwt package. Today we will be looking at how we can read an *.xls/*.xlsx file using a package called xlrd. The xlrd package can be run on Linux and Mac as well as Windows. This is great when you need …

Reading Excel Spreadsheets with Python and xlrd Read More »