src/d/r/dramatis-0.1.1/examples/telephone/seventh/run.py dramatis(Download)
sys.path[0:0] = [ os.path.join( os.path.dirname( inspect.getabsfile( inspect.currentframe() ) ), '..', '..', '..', 'lib' ) ] sys.path[0:0] = [ os.path.join( os.path.dirname( inspect.getabsfile( inspect.currentframe() ) ), '..' ) ] from logging import warning import dramatis
try:
sally.whisper( phrase )
except dramatis.Deadlock:
warning( "woah: got a deadlock: that shouln't happen" )
for phrase in phrases:
try:
print "Teacher heard:", tom.ask()
except dramatis.Deadlock:
warning( "woah: got another deadlock" )
src/v/e/vertebra-py-HEAD/lib/vertebra/config.py vertebra-py(Download)
import yaml.parser from os.path import expanduser,join,exists,sep from types import DictionaryType from logging import error,fatal,info,debug,warning import re from copy import deepcopy from sys import exit
cur_arg = None # No Parameters
arg_stack = [] # Zero Stack
else:
warning("unrecognized argument: %s", tok)
else: # Collecting Parameters
arg_stack.append(tok) # Next Parameter for Stack
if len(arg_stack) == arg_count: # Have All Parameters
config[cur_arg] = val
debug("cli config: %s=%r",cur_arg,config[cur_arg])
except Exception:
warning("invalid argument: %s (-%s), %r",cur_arg,arg_code,
arg_stack,exc_info=True)
cur_arg = None
if cur_arg is not None:
warning("incomplete argument: %s (-%s), %r",cur_arg,arg_code,arg_stack)
# I got nothing...
if config_file is None:
warning("No Config File Exists")
self.loaded = True
return
src/m/o/motools-HEAD/gnat/examples/trackuri.py motools(Download)
import os
import os.path
import logging
from logging import log, error, warning, info, debug
sys.path.append(os.path.abspath("")+"/../src/gnat/")
src/d/r/dramatis-0.1.1/examples/im/single/wxchat.py dramatis(Download)
sys.path[0:0] = [ os.path.join( os.path.dirname( inspect.getabsfile( inspect.currentframe() ) ), '..', '..', '..', 'lib' ) ] from logging import warning from chat.screen.wx import Screen from chat import Server
src/d/r/dramatis-0.1.1/examples/pingpong/scala.py dramatis(Download)
sys.path[0:0] = [ os.path.join( os.path.dirname( inspect.getabsfile( inspect.currentframe() ) ), '..', '..', 'lib' ) ] from logging import warning import dramatis
src/d/r/dramatis-0.1.1/examples/pingpong/actor_rec.py dramatis(Download)
sys.path[0:0] = [ os.path.join( os.path.dirname( inspect.getabsfile( inspect.currentframe() ) ), '..', '..', 'lib' ) ] from logging import warning import dramatis
src/d/r/dramatis-0.1.1/examples/pingpong/actor.py dramatis(Download)
sys.path[0:0] = [ os.path.join( os.path.dirname( inspect.getabsfile( inspect.currentframe() ) ), '..', '..', 'lib' ) ] from logging import warning import dramatis
src/d/r/dramatis-0.1.1/examples/fib/threads.py dramatis(Download)
sys.path[0:0] = [ os.path.join( os.path.dirname( inspect.getabsfile( inspect.currentframe() ) ), '..', '..', 'lib' ) ] from logging import warning import threading from threading import Thread
src/d/r/dramatis-0.1.1/examples/fib/original.py dramatis(Download)
sys.path[0:0] = [ os.path.join( os.path.dirname( inspect.getabsfile( inspect.currentframe() ) ), '..', '..', 'lib' ) ] from logging import warning import dramatis
src/d/r/dramatis-0.1.1/examples/fib/conservative.py dramatis(Download)
sys.path[0:0] = [ os.path.join( os.path.dirname( inspect.getabsfile( inspect.currentframe() ) ), '..', '..', 'lib' ) ] from logging import warning import threading
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 Next