Menu ▾ ▴

new to this

ramin
2008-10-26
2013-03-15
  • ramin

    ramin - 2008-10-26

    hi  everybody.
    i am new to python and using pydev.
    my noobish question cause i couln't find hint to this anywhere is
    why my pydev cant see a class in modules which are in the same package. do i have to write any import for  them?
    thy, ramin

     
    • Fabio Zadrozny

      Fabio Zadrozny - 2008-10-27

      In python, to use any class that's not in the same module (file), you have to import it... Even if it's in the same package.

      Cheers,

      Fabio