Subject Re: How do i build the documentation ?
Author mariuz
--- In firebird-python@yahoogroups.com, "mariuz" <mariuz@...> wrote:
>
>
>
> --- In firebird-python@yahoogroups.com, Hajime Nakagami <nakagami@> wrote:
> >
> > Hi Pavel, mariuz and others
> >
> > Now I've released 0.6.3 including cursor iteration.
>
> Thanks it works
>
> Tomorrow i will finish the tutorial and i will start to send you pull requests
>
> >>> cur.execute(SELECT)
> >>> for (name, year_released) in cur:
> ... print '%s has been publicly available since %d.' % (name, year_released)
> ...
> C has been publicly available since 1972.
> Python has been publicly available since 1991.
>


from tutorial two issues i have but we will solve it tomorrow


>>> for row in cur.itermap():
... print '%(name)s has been publicly available since %(year_released)d.' % row
...
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'Cursor' object has no attribute 'itermap'


python test.py
Traceback (most recent call last):
File "test.py", line 13, in <module>
print fieldDesc[k.DESCRIPTION_NAME].ljust(fieldDesc[k.DESCRIPTION_DISPLAY_SIZE]) ,
AttributeError: 'module' object has no attribute 'DESCRIPTION_NAME'