Ok,  I have the following directory structure

C:\pycode
   --> blah.py
   --> mynewdir
      --> __init__.py
      --> abc.py

[[ C:\pycode\mynewdir\abc.py ]]

def doFoo():
    print "hi"

def doBar():
    print "bye"

[[ C:\pycode\mynewdir\__init__.py ]]

from mynewdir import *

[[ C:\pycode\blah.py ]]

????

what do i import in blah.py so that I can accesss, abc.doFoo() ?

thanks

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to