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