Package dataplot :: Package soccer :: Module models :: Class GameManager
[show private | hide private]
[frames | no frames]

Type GameManager

object --+    
         |    
   Manager --+
             |
            GameManager


Method Summary
  create_from_file(self, filename)
Create new bike rides based on records in a text file.
  create_from_line(self, line)
Create one game based on line of text datafile.
  export_games_to_file(self, filename)
Export data to a text file.
  get_export_text(self)
Text for exported data file.
  get_latest(self)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
list __slotnames__ = []
str DEFAULT_DATAFILE = '/usr/local/lib/python2.4/site-packag...
tuple TUPKEYS = ('name', 'goals', 'own_goals')

Method Details

create_from_file(self, filename=None)

Create new bike rides based on records in a text file.

create_from_line(self, line)

Create one game based on line of text datafile.

export_games_to_file(self, filename=None)

Export data to a text file.

get_export_text(self)

Text for exported data file.

Class Variable Details

__slotnames__

Type:
list
Value:
[]                                                                     

DEFAULT_DATAFILE

Type:
str
Value:
'/usr/local/lib/python2.4/site-packages/dataplot/soccer/games.txt'     

TUPKEYS

Type:
tuple
Value:
('name', 'goals', 'own_goals')                                         

Generated by Epydoc 2.1 on Tue Apr 29 23:35:16 2008 http://epydoc.sf.net