On Fri, Nov 11, 2011 at 09:07:02AM +0100, Pavel Cisar wrote:
> Dne 10.11.2011 17:41, mariuz napsal(a):
> > Just one question for the old documentation 
> > how do i build it ?
> > 
> > sphinx-build [build options]
> > 
> > 
> > I want to start converting some of the docs to the pyfirebird
> > and before the import i wanted to know how can the docs can be build 
> 
> Use: make html
> 
> See http://sphinx.pocoo.org/tutorial.html
> 


Thanks i have started with the tutorial and testing the examples from it 


>>> con = firebirdsql.connect(dsn='localhost:/tmp/test.fdb', user='sysdba', 
>>> password='masterkey')
>>> SELECT = "select name, year_released from languages order by year_released"
>>> cur.execute(SELECT)
>>> cur = con.cursor()
>>> cur.execute(SELECT)
>>> for (name, year_released) in cur:
...         print '%s has been publicly available since %d.' % (name, 
year_released)
... 
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: 'Cursor' object is not iterable


> best regards
> Pavel Cisar
> IBPhoenix
> 
> 

Reply via email to