Exemplo n.º 1
0
 def __init__(self, template):
     """
         :param template: the template string
     """
     Template.__init__(self, template)
Exemplo n.º 2
0
 def __init__(self, *args, **kwargs):
     BaseTemplate.__init__(self, *args, **kwargs)
     self._init_include_names()
     self._load_includes()
Exemplo n.º 3
0
 def __init__(self, *args, **kwargs):
     BaseTemplate.__init__(self, *args, **kwargs)
     self._init_include_names()
     self._load_includes()
Exemplo n.º 4
0
 def __init__(self, initial_level=9, initial_health=5, initial_ammos=3):
     Template.__init__(self, '')
     self.level = initial_level
     self.health = initial_health
     self.ammos = initial_ammos
     self.score = 0
Exemplo n.º 5
0
 def __init__(self, template):
     """
         :param template: the template string
     """
     Template.__init__(self, template)
Exemplo n.º 6
0
	def __init__(self, template):
		Template.__init__(self, template)
Exemplo n.º 7
0
 def __init__(self, template):
     Template.__init__(self, template)
 def __init__(self, templateString):
     Template.__init__(self, templateString)
Exemplo n.º 9
0
 def __init__(self, initial_time, underlined_ratio, initial_turn=1):
     Template.__init__(self, '')
     self._time_left = initial_time
     self.underlined_ratio = underlined_ratio
     self.turn = initial_turn
     self.sentence_len = self.bonus = self.total_score = self.time_taken = 0
Exemplo n.º 10
0
 def __init__(self, templateString):
     Template.__init__(self, templateString)
Exemplo n.º 11
0
 def __init__(self, *args, **kwargs):
     Template.__init__(self, *args, **kwargs)
Exemplo n.º 12
0
 def __init__(self, init):
     Template.__init__(self, init)
Exemplo n.º 13
0
 def __init__(self, templateString):
     """Constructor."""
     Template.__init__(self, templateString)
Exemplo n.º 14
0
 def __init__(self, stmts):
     Template.__init__(self, self.program_tpl)
     self.stmts = stmts
Exemplo n.º 15
0
 def load( self, fileName ):
     infile = open( fileName, 'r' )
     script = "".join( infile.readlines() )
     Template.__init__( self, script )
Exemplo n.º 16
0
Arquivo: request.py Projeto: vavan/eia
	def __init__(self, text):
		Template.__init__(self, text)
		self.text = text