Re: [Tutor] Fwd: The results of your email commands

2012-04-24 Thread 叶佑群
于 2012-4-24 18:13, Joel Goldstick 写道: On Tue, Apr 24, 2012 at 4:11 AM, 叶佑群 wrote: Hi, all I have two block code as: Block 1: #.. pobj = subprocess.Popen (["passwd", user], stdout=subprocess.PIPE, stdin = subprocess.PIPE) password = password + "\n"

Re: [Tutor] Fwd: The results of your email commands

2012-04-24 Thread Joel Goldstick
On Tue, Apr 24, 2012 at 4:11 AM, 叶佑群 wrote: > Hi, all > >    I have two block code as: > > Block 1: >            #.. >            pobj = subprocess.Popen (["passwd", user], > stdout=subprocess.PIPE, stdin = subprocess.PIPE) >            password = password + "\n" >            pobj.stdin.write

[Tutor] Fwd: The results of your email commands

2012-04-24 Thread 叶佑群
Hi, all I have two block code as: Block 1: #.. pobj = subprocess.Popen (["passwd", user], stdout=subprocess.PIPE, stdin = subprocess.PIPE) password = password + "\n" pobj.stdin.write (password) pobj.stdin.write (password)