Home My Page Projects OpenAlea
Summary Activity Forums Tracker Lists Tasks Docs News SCM Files

Forum: developers

Monitor Forum | Start New Thread Start New Thread
RE: namespace import syntax [ Reply ]
By: Samuel Dufour-Kowalski on 2007-04-19 14:08
We can also use an oenalea.pth

See :

RE: namespace import syntax [ Reply ]
By: Christophe Pradal on 2007-04-10 14:14
* Namespace collision with other modules
* You can make aliases:
import openalea.titi.tata.truc
truc= openalea.titi.tata.truc

namespace import syntax [ Reply ]
By: Jérôme Chopard on 2007-04-10 11:54
shall we put openalea into python path
contra :
- openalea will not appear in import sentences
- allow user to install modules outside of openalea

pro :
- shorter import
- allow usage of isinstance inside a module without refering to openalea namespace