What is the difference between `orange` and `Orange` when importing for the python machine learning package?

StackOverflow https://stackoverflow.com/questions/10792201

  •  11-06-2021
  •  | 
  •  

Question

Some parts of the docs have import orange and others have import Orange and they appear to have a different module organization. What's the difference?

Thanks!

Uri

Était-ce utile?

La solution

Orange is the new top-level namespace introduced in 2.5 to unify the C++-based modules and Python-based modules, which were named as orange and orngXxxx. See http://orange.biolab.si/blog/2011/12/20/orange-25-code-conversion/ for detail.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top