that does work, thanks.
i'm having another problem now, trying to get the right values from my os.system commands. they just return the 0 value instead of the actual numbers from the shell script. i'm looking at 'popen' and 'argv' to see if these will help in grabbing the stdout from those...
This is a pretty basic script, just wanting to grab some values from commandline and insert them into variables take those and calculate percentage.
import os
files = os.system('ls ../files/ | wc -l')
matches = os.system('wc -l ../text/burn.roto_02 | awk \'{print $1}\'')...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.