[Tutor] One basic question about the Python's PID of Process object.
Lisi
lisi.reisz at gmail.com
Mon Aug 29 11:12:15 CEST 2011
On Monday 29 August 2011 07:17:51 Han Guanghua wrote:
> 2. Second question: When I changed the os.getpid() to os.getppid() or
> self. _pid, the Python’s interpreter generates some error message like
> “Customer object has no attribute ‘_pid’”.
>
>
I'm very much a beginner myself, but I am sure that someone will correct me if
I am wrong. Should it not be self.pid rather than self._pid?
Lisi
More information about the Tutor
mailing list