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.

Regards,
--
Adrien Di Mascio - LOGILAB, Paris (France).
Tél: 01.45.32.03.12
Formations - http://www.logilab.fr/formations
Développements - http://www.logilab.fr/services
Gestion de connaissances - http://www.cubicweb.org/
_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects
  • Re: [... Nicolas Chauvat
    • ... Szymczyk, Jacek Janusz (HP Labs - Fusionopolis, South Twr #14 floor)
    • ... Szymczyk, Jacek Janusz (HP Labs - Fusionopolis, South Twr #14 floor)
      • ... Nicolas Chauvat
  • Re: [... Szymczyk, Jacek Janusz (HP Labs - Fusionopolis, South Twr #14 floor)
    • ... Sylvain Thénault
    • ... Nicolas Chauvat
      • ... Szymczyk, Jacek Janusz (HP Labs - Fusionopolis, South Twr #14 floor)
        • ... Nicolas Chauvat
          • ... Szymczyk, Jacek Janusz (HP Labs - Fusionopolis, South Twr #14 floor)
            • ... Adrien Di Mascio

Reply via email to