Combine Excel & Python | Execute a Python Script from Excel using xlwings | Works on Windows & macOS

Опубликовано: 30 August 2026
на канале: Coding Is Fun
42,030
648

👉 Learn Excel Automation with Python: https://pythonandvba.com/excel-automa...

𝗗𝗘𝗦𝗖𝗥𝗜𝗣𝗧𝗜𝗢𝗡
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
This video will show how to execute a Python File from Excel using the library xlwings. This solution will work on macOS. Additionally, you could also specify a virtual environment you want to use to execute the Python File.

📝 𝗥𝗲𝘀𝗼𝘂𝗿𝗰𝗲𝘀:
Xlwings Troubleshooting page:
► https://docs.xlwings.org/en/stable/tr...

Download the Python & Excel file to create the Gantt Chart (as shown in the video):
► https://pythonandvba.com/gantt-demo

✅ 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀:
00:00 | Demo
00:17 | Installation xlwings
00:47 | QuickStart project with add-In
09:00 | Standalone QuickStart project
12:07 | Add xlwings to an existing project
13:54 | Wrap-Up
15:05 | Outro


𝗖𝗢𝗡𝗡𝗘𝗖𝗧 𝗪𝗜𝗧𝗛 𝗠𝗘
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
🔗 LinkedIn:   / 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