Hello,
I figured out the issue. It was a silly mistake - i was not running the correct
code; instead was running code from another program which was active on a
second tab. Thank you.
On Sunday, May 1, 2016 4:15 PM, Jason N. via Tutor wrote:
Thank you all for your responses.
I am us
Thank you all for your responses.
I am using Py 2.7 and this time I copied and pasted the code from here:
http://www.opentechguides.com/how-to/article/python/57/python-ping-subnet.html
to my system but received the same error when I ran it.
You can see the error screenshot here: https://unsee.c
On Sat, Apr 30, 2016 at 06:51:17PM +, Jason N. via Tutor wrote:
> 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(['di
On 4/30/2016 3:27 PM, Alex Kleider wrote:
On 2016-04-30 11:51, Jason N. via Tutor wrote:
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_o
On 2016-04-30 11:51, Jason N. via Tutor wrote:
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'])
It works on my system: Ubun
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.opentec