I wanted to run a bash script with Python.
bash download.sh
I got
name 'bash' is not defined
I tried this code again:
import os
starting = os.popen('bash download.sh')
starting.read()
I received: ''
I wanted to run a bash script with Python.
bash download.sh
I got
name 'bash' is not defined
I tried this code again:
import os
starting = os.popen('bash download.sh')
starting.read()
I received: ''