Strauser family release #3

Kirk Strauser kirk at strauser.com
Sun Apr 6 12:47:48 EDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

########################################

#!/usr/bin/python

# This program forks().  That should be plenty for a few years' entertainment
# Copyright (C) 2003 Kirk & Jennifer Strauser

# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.

# However, the output of this particular instance shall remain
# exclusively licensed to the authors for a period of up to eighteen
# years.

# $Id: baby.py,v 1.3 2003/04/06 06:12:04 kirk Exp $

import time
import os

eta = 1049547660
name = "Jennifer Strauser"

if eta > time.time():
    # Not done yet
    time.sleep(eta - time.time())

pid = os.fork()
if pid:
    print "%s: At %s, I got my own address space back!" % (name, time.ctime(eta))
else:
    length = 20.5   # inches
    weight = 5.4    # pounds.ounces
    name = "Ariana Nicole Strauser"
    print "%s: Hello, world!" % name

########################################

- -- 
Kirk Strauser

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+kFhu5sRg+Y0CpvERAu+1AJ4/yzpXOtYtyLoZb/so+lraylLHPwCfd5uQ
4HRtwzPqMmm7gcIfsv+9hVo=
=lIgp
-----END PGP SIGNATURE-----




More information about the Python-list mailing list