Need help with network script

bbechdol at gmail.com bbechdol at gmail.com
Thu Jul 18 04:19:22 CEST 2013


> In addition to reposting using copy/paste, please specify the Python 
> 
> version.  There were differences between 2.6 and 2.7.
> 
> 
> 
> Short answer is that subprocess.call() returns an integral returncode. 
> 
> So zero tells you that shelling to the subprocess succeeded.
> 
> 
> 
> Perhaps you'd like to use  subprocess.check_output() instead of 
> 
> subprocess.call().
> 
> 
> 
> 
> 
> -- 
> 
> DaveA

I will try that. I am using Python 2.7



More information about the Python-list mailing list