Re: [Tutor] Fwd: The results of your email commands
于 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 = pass
[Tutor] Fwd: The results of your email commands
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)