[Python-projects] Fyzz breaks under python 2.6.5 and 2.7

Adrien Di Mascio adrien.dimascio at logilab.fr
Thu May 26 07:49:59 CEST 2011

Hi Jacek,

On 26/05/2011 05:19, Szymczyk, Jacek Janusz (HP Labs - Fusionopolis, 
South Twr #14 floor) wrote:
> I've followed the "Quick start" instructions".  Everything works except:

You should definitely read the python documentation, the quick start 
shows a kind of screenshot of an interactive python shell session and 
you should **not** copy / paste each line of it, only lines starting 
with '>>> ' (or '... ' which indicates that the python shell is waiting 
for the end of your input).

So, back to your error:

  print ast.where

is what you're supposed to type and

  [(SparqlVar('project'), ('', 'a'), ...]

is what the python shell is supposed to answer back. Again, this is not 
something you should type explicitely.

If the editor you use to read the 'README.rst' file displays
print ast.where [(SparqlVar('project'), ('', 'a'), ...] on a single 
line, it's buggy.

Anyway, you'll still need to learn python a little bit before you can do 
someful useful with fyzz.

Adrien Di Mascio - LOGILAB, Paris (France).
Formations - http://www.logilab.fr/formations
Développements - http://www.logilab.fr/services
Gestion de connaissances - http://www.cubicweb.org/

More information about the Python-Projects mailing list