On 8/13/07, king kikapu <[EMAIL PROTECTED]> wrote: > > Ah, i forgot another one: > > as any project evolves, you need to organize it in directories. So, i > have a project named "Dev" and Eclipse has provided me (in Navigator) > with "Dev" and "Src". Inside Src i put my .py files. Let's say that i > want to create a directory there (will i make it in "Src" or in "Dev") > to put other .py files. I tried adding a "Folder", i also tried to add > a "Pydev Source Folder", either way i cannot refer to these files from > a .py located in Src directory with the usual "from folderA > import"...It does not understand the folder structure and i am pretty > sure i am missing something obvious here... >
You have to set as source folders the exact same folders you'd usually put into your pythonpath (that's one level before the module you're going to import). Details on how to do that can be found at: http://fabioz.com/pydev/manual_101_root.html Cheers, Fabio
-- http://mail.python.org/mailman/listinfo/python-list