Ver originalimport os, time pid = os.getpid() archi_pid = open('daemon_py.pid','a')archi_pid.write("{0}\n".format(pid))archi_pid.close()