[Tutor] One basic question about the Python's PID of Process object.

2011-08-28 Thread Han Guanghua
Hello, 1. When I tried to run the following code (belonging to one Python program), for the dynamically created object of CUSTOMER as Process type, the printed PID as the following is always the same. Why? 2. Second question: When I changed the os.getpid() to os.getppid() or se

[Tutor] 答复: One basic question about the Python's PID of Process object.

2011-08-29 Thread Han Guanghua
- 发件人: tutor-bounces+guanghua.han=huawei@python.org [mailto:tutor-bounces+guanghua.han=huawei@python.org] 代表 Lisi 发送时间: 2011年8月29日 17:12 收件人: tutor@python.org 主题: Re: [Tutor] One basic question about the Python's PID of Process object. On Monday 29 August 2011 07:17:51 Han Guanghua wrote: &