Back to Browse

How to Run Python in an Open Excel Workbook (EASY) | Combine Excel & Python | xlwings Tutorial

48.0K views
Feb 11, 2021
13:31

๐Ÿ‘‰ Explore All My Excel Solutions: https://pythonandvba.com/solutions ๐——๐—˜๐—ฆ๐—–๐—ฅ๐—œ๐—ฃ๐—ง๐—œ๐—ข๐—ก โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€ Utilize the power of python to upgrade your Excel functionalities. In this xlwings tutorial, I am going to show you, how to run Python(scripts) in an open Excel Workbook. xlwings can leverage Pythonโ€™s scientific packages (NumPy, Pandas, SciPy, sci-kit-learn, etc.) to write tools with Python instead of VBA. At the end of this tutorial, I show you also some practical examples. Those examples will include plotting & updating stock market information, as well as interacting with APIs & return the result to Excel and even creating a PDF stock report. However, in this tutorial, I will not cover how to execute a Python script from excel. I will make a separate video on this. All files of the tutorial can be found here: ๐Ÿ‘‰https://github.com/Sven-Bo/Run-Python-In-Excel-Workbook xlwings Documentation: https://docs.xlwings.org/en/stable/ ๐—–๐—ข๐—ก๐—ก๐—˜๐—–๐—ง ๐—ช๐—œ๐—ง๐—› ๐— ๐—˜ โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€ ๐Ÿ”— LinkedIn: https://www.linkedin.com/in/sven-bosau/ ๐Ÿ“ฌ Contact: https://pythonandvba.com/contact โ˜• ๐—•๐˜‚๐˜† ๐—บ๐—ฒ ๐—ฎ ๐—ฐ๐—ผ๐—ณ๐—ณ๐—ฒ๐—ฒ? If you want to support this channel, you can buy me a coffee here: โ–ถ https://pythonandvba.com/coffee-donation

Download

1 formats

Video Formats

360pmp423.6 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

How to Run Python in an Open Excel Workbook (EASY) | Combine Excel & Python | xlwings Tutorial | NatokHD