I have four python scripts and one excel table. I have to run the last python script which opens a dashboard in my browser with Dash. I did this for my company and I want now that other people with no programming background can just click on the file and the dashboard opens directly. I read that I can do this with a bash file but first problem is that I have to give the source of where the python scripts are located and this is different from user to user and also it opens not directly when i click on it. Also is it posible to make one for Mac system and one for Windows system or maybe all in one? Thank you very much for your help.
This is what I tried:
my bash script at the moment:
#!/bin/bash
cd “$(dirname”$0″)”
source/Users/myname/Documents/company/env/bin/activate
python3 Dashboard.py &
open http://126.0.0.2:8050
Mic Merian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.