I want to pass two variables to the os.system() for example listing files in different format in specific directory like (ls -l testdirectory) in which both a switch and test di
This, for example, works:
os.system('%s %s' % ('ls', '-l'))