0

I am designing dash application which I am running from windows command line. I wanted to run it in go which is comprises of may instructions as follows:

  1. create conda testenv
  2. pip install dash, plotly, pandas and few more libraries
  3. activate conda environment
  4. python dash_file.py

Is there any easier way to do this? I am new to command line execution. I want to run it for non technical people where they can install and run everything in one go.

dan
  • 373
  • 2
  • 5
  • 24

1 Answers1

0

Use a function

def execute_all(commands):
    for command in commands:
        os.system(command)
Yash Kolekar
  • 270
  • 1
  • 11