Skip to content

Instantly share code, notes, and snippets.

View dedan's full-sized avatar

Stephan Gabler dedan

View GitHub Profile
@dedan
dedan / life
Created December 3, 2011 10:01
session2
#!/usr/bin/env python
# encoding: utf-8
class Life(object):
"""docstring for Life"""
def __init__(self, init=None):
super(Life, self).__init__()
self.cells = init
@dedan
dedan / run_background.py
Created October 12, 2011 13:01
senna server
import subprocess
import sys
import time
try:
p = subprocess.Popen([sys.executable, '-m', 'Pyro4.naming'],
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT)
time.sleep(5)