jelleferinga <jelleferinga@...> writes:

> 
> Zhi Li,
> 
> how are you importing OCC?
> If you write 
> 
> "import OCC", _all_ modules will be imported, which is very slow and
unnessecary, please import statement like:
> 
> "from OCC.BRep import BRep_Tool" for example.
> 
> -jelle
> 

jelle,

Generally I use "from a import b",and eventually I find my import list
shorter using "from a import *" when * contains many bs.


_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to