Hello, I found this simple script online but when I execute it I get the following error: "TypeError: 'list' object is not callable" Here is the code sample:import subprocess
ls_output= subprocess.check_output(['dir']) I searched online and found a another similar code sample (http://www.opentechguides.com/how-to/article/python/57/python-ping-subnet.html) but when I run it on my system I get the same error.Any feedback is very much appreciated. Thank you. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor