Author jftuga
Recipients docs@python, jftuga
Date 2015-09-18.14:54:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In the Windows Help File for Python 3.5:

17.2 multiprocessing The Process class
2nd code example: "To show the individual process IDs involved, here is an expanded example"

def info(title):
    print('module name:', __name__)
    if hasattr(os, 'getppid'):  # only available on Unix
        print('parent process:', os.getppid())
    print('process id:', os.getpid())

os.getppid() is now available on Windows, so you can remove the if statement.
Date User Action Args
2015-09-18 14:54:36jftugasetrecipients: + jftuga, docs@python
2015-09-18 14:54:36jftugasetmessageid: <>
2015-09-18 14:54:36jftugalinkissue25169 messages
2015-09-18 14:54:36jftugacreate