PAMIE and beautifulsoup problem

elca highcar at gmail.com
Sun Oct 25 02:32:24 CET 2009


hello! 
im very sorry to late reply.
follow script i was executed.

from BeautifulSoup import BeautifulSoup
from PAM30 import PAMIE
url = 'http://www.cnn.com'
ie = PAMIE(url)
bs = BeautifulSoup(ie.pageText()) 

and i was got such like follow error in wingide.
i can guess because of current version of PAM30 don't have attribute
'pageText'.
but i couldn't found what is same attribute in PAM30 module. and other
problem is while im using PAMIE,is it possible to change normal '
Dispatch("InternetExplorer.Application")  ' ?
i mean.....don't open another internet explorer windows, and using current
PAMIE session.
thanks in advance!

AttributeError: PAMIE instance has no attribute 'pageText'
File "C:\test12.py", line 7, in <module>
  bs = BeautifulSoup(ie.pageText())



Gabriel Genellina-7 wrote:
> 
> En Fri, 23 Oct 2009 03:03:56 -0300, elca <highcar at gmail.com> escribió:
> 
>> follow script is which i was found in google.
>> but it not work for me.
>> im using PAMIE3 version.even if i changed to pamie 2b version ,i couldn't
>> make it working.
> 
> You'll have to provide more details. *What* happened? You got an  
> exception? Please post the complete exception traceback.
> 
>> from BeautifulSoup import BeautifulSoup
>> Import cPAMIE
>> url = 'http://www.cnn.com'
>> ie = cPAMIE.PAMIE(url)
>> bs = BeautifulSoup(ie.pageText())
> 
> Also, don't re-type the code. Copy and paste it, directly from the program  
> that failed.
> 
> -- 
> Gabriel Genellina
> 
> -- 
> http://mail.python.org/mailman/listinfo/python-list
> 
> 

-- 
View this message in context: http://www.nabble.com/PAMIE-and-beautifulsoup-problem-tp26021305p26044579.html
Sent from the Python - python-list mailing list archive at Nabble.com.




More information about the Python-list mailing list