[Pyrex] A simple question: rephrased

Alain Pointdexter alainpoint at yahoo.fr
Wed Apr 18 10:32:07 UTC 2007


Hi,
Thanks for all who answered.
But i expressed myself in a wrong way.
My question was:
i know how to access constants or defines from within pyrex file.
Just use an anonymous enum:
cdef enum:
    const1
    const2

But how do you access those constants defined in   pyrex file FROM PYTHON.


Regards

Alain



      
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com



More information about the Pyrex mailing list