1 year ago

#388354

test-img

Nicolai

Execute a bunch of python scripts with dependencies from another py file

I'm currently trying to execute a bunch of .py and .js files sequentially from one main py script. I use os.system("COMMAND") for that. This works like a charm except for one script which uses numpy and pandas. This of cause throws and exception as native os does not know numpy or pandas.

What options do I have to get those dependencies? Calling something like conda activate someEnv does not feel like the right approach.

python

cmd

operating-system

0 Answers

Your Answer

Accepted video resources