Analytics Vidhya
Published in

Analytics Vidhya

Launch Python apps locally from Excel

Consider this…You’ve just developed an awesome web app with Python and you want to share it with your colleagues. How should you go about it? What are your options?

Photo by Filiberto Santillán on Unsplash

“Keep you tools in one toolbox.”

Bad boy. Image by author.
Sub LaunchDashboard()command = Shell("C:\Users\" & LCase(Environ$("Username")) & "\Documents\Dasboard.bat", vbNormalFocus)End Sub
start http://127.0.0.1:8050/
call C:\Users\%USERNAME%\anaconda3\Scripts\activate
call conda activate dashboards
python "C:\Users\%USERNAME%\Documents\dashboard.py"
cmd /k
Successful execution of batch file and dashboard launch. Image the author.

--

--

Analytics Vidhya is a community of Analytics and Data Science professionals. We are building the next-gen data science ecosystem https://www.analyticsvidhya.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Matt Doyle

Curious programmer. Experienced in financial markets. Fan of a good dashboard!