[Edu-sig] (no subject)

zev@mail.ru zev@mail.ru
Fri, 17 Mar 2000 21:59:17 +0000


Hello edu-sig,

  i have large practice in solving one problem...

  python dosn't support cyclic import/// i mean you can't write
  something like this:

#p1.py
import p2
def pp1():
  print 'yep'
p2.pp2()

#p2.py
import p1
def pp2():
   p1.pp1()



so .. even now i cant understand why it doesn't work
on the one hand PC commands admitted cyclic import/including
on the other hand why dont use this commands in Python??

actually i solve this problem ... but i spend 3 weaks solving it...

please comment me
-- 
Best regards,
 zev                          mailto:zev@mail.ru