Skip to content

devalbo/xlwings-xlamples

Repository files navigation

xlwings

Python Principles

Introduction

  • Excel is great for visualization, but large datasets are cumbersome
  • xlwings is a free and open-source add-in for Python
  • xlwings provides access to Python’s libraries
  • Different from a dll
  • Docs are here: https://docs.xlwings.org/en/stable/api.html

What you will need for this session:

Installation

At the command line:

  • pip install xlwings --upgrade
  • xlwings addin install

In Excel:

  • Alt+F11 to bring up VBA Editor
  • Tools->References - Make sure xlwings is ticked

The Basics

  • Using Python to control Excel - demo.py

Performance matters?

loop.py

Invert control

This is how you invert

From Excel, use Python as a VBA substitute or replacement
Integrating Data with Other Applications
Back and forth with Python calling macros

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages