opal/trunk/opal.py
anwinged 67fb461f8c docs added
models description/definition firstly completed
2012-03-25 06:15:39 +00:00

36 lines
785 B
Python

#-------------------------------------------------------------------------------
# Name: opal.py
# Purpose:
#
# Author: Anton Vakhrushev
#
# Created: 14.03.2012
# Copyright: (c) Anton Vakhrushev 2012
# Licence: LGPL
#-------------------------------------------------------------------------------
#!/usr/bin/env python#!/usr/bin/env python
#! coding: utf-8
import server
import task
class Project:
pass
def main():
import pprint
s = server.LocalServer()
s.LoadTasksDescriptions()
ds = s.GetTasksDescriptions()
ms = []
for d in ds:
ms.extend(d.GetModelsDescriptions())
m = ms[0]
pprint.pprint(m.data)
print m.GetSpecifications()
if __name__ == '__main__':
main()