[Tutor] import'ing problems (path)

Chad Crabtree flaxeater at yahoo.com
Tue Oct 5 05:42:50 CEST 2004


Tim Johnson wrote:

>>to import it, I use the following statement:
>>from WebKit.Page import Page
>>
>>and I get the following error message:
>>"No module named WebKit.Page"
>>
>>What am I doing wrong and what needs to be done t
>>correct it?
>>
>>    
>>
I think (not sure) that you need to try

from WebKit import Page

your previous import directive says from webkit package import
Page.py 
then import Page class from there.

Hope This helps.


		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 


More information about the Tutor mailing list