4 lines
86 B
Python
4 lines
86 B
Python
import commands
|
|
stat, out = commands.getstatusoutput('ls')
|
|
if not stat:
|
|
print out
|