Re: [PythonReports-users] PythonReports
Brought to you by:
a1s
From: alexander s. <al...@ty...> - 2007-11-15 10:19:06
|
Виктор wrote, at 15.11.2007 8:23: > > Пытаюсь использовать PythonReports. Прошу помощь. > Как задавать переменную data в дизайнере (на примере sakila.dat)? в шелле набираешь: Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] on win32 Set "data" variable to report data sequence for preview. >>> from sakila import load >>> data = load()[:10] >>> естественно, можно взять и более длинный набор данных. всего load() возвращает 16044 объекта (все, что было в примере MySQL). такую длинную последовательность можно использовать для оценки производительности, но работать с ней в дизайнере неудобно. > Где есть информация об использовании PythonReports? есть только то, что на сайте. желаю здравствовать, alex. |