Dec-04-2016, 11:51 PM
Hello, I am a totally newby.
I am trying to convert from Linux Bash to python.
I need the output of Linux commands to be stored in a Python array.
######################################
PythonArray < ls -lar
for X in (PythonArray):
print X
######################################
this is not real code as you know however I hope it explains what I need.
If I am not clear, feel free to ask me to clarify
I am trying to convert from Linux Bash to python.
I need the output of Linux commands to be stored in a Python array.
######################################
PythonArray < ls -lar
for X in (PythonArray):
print X
######################################
this is not real code as you know however I hope it explains what I need.
If I am not clear, feel free to ask me to clarify