Alan wrote:
Hi there,
Module commands is gone in python3, so I am trying subprocess. So please I
would appreciate if someone can tell me how to do this better:
before I had:
cmd = 'uname -a'
out = commands.getoutput(cmd)
'Darwin amadeus.local 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23
18
On 07/14/2010 08:38 AM, Alan wrote:
Hi there,
Module commands is gone in python3, so I am trying subprocess. So
please I would appreciate if someone can tell me how to do this better:
before I had:
cmd = 'uname -a'
out = commands.getoutput(cmd)
'Darwin amadeus.local 10.4.0 Darwin Kernel Ver
On Jul 14, 2010, at 8:38 AM, Alan wrote:
> Hi there,
>
> Module commands is gone in python3, so I am trying subprocess. So please I
> would appreciate if someone can tell me how to do this better:
>
> before I had:
>
> cmd = 'uname -a'
> out = commands.getoutput(cmd)
>
> 'Darwin amadeus.loca
Hi there,
Module commands is gone in python3, so I am trying subprocess. So please I
would appreciate if someone can tell me how to do this better:
before I had:
cmd = 'uname -a'
out = commands.getoutput(cmd)
'Darwin amadeus.local 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23
18:28:53 PDT 201