thank you so much 2011/3/1 Bill Liao <lwlw1...@gmail.com>
> On Tuesday, March 1, 2011, iRick <alexye...@gmail.com> wrote: > > hi,i'm a freshman for python. i got a problem about "Modules" > > this is my dir > > A/ > > a.py > > __init__.py > > B/ > > __init__.py > > b.py > > C/ > > __init__.py > > c.py > > > > and i wrote this as follows in c.py > > > > from A.B import b > > ~~~~blablabla > > > > but the compiler warned like this: > > > > Traceback (most recent call last): > > File "H:\workspace\A\B\b.py", line 1, in <module> > > from A.C import c > > ImportError: No module named A.C > > > > > > so what's the matter ? should i do sth in sys.path or > > someelse? > > > > i hope sb can help me with it thanks > > > > -- > > You received this message because you are subscribed to the Google Groups > "Django users" group. > > To post to this group, send email to django-users@googlegroups.com. > > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > > > > > yes, add directory A to sys.path > > -- > *If the dream is BIG enough,the facts don't count!* > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.