PAMIE and beautifulsoup problem

E

elca

hello,
currently im making some web scrap script.
and i was choice PAMIE to use my script.
actually im new to python and programming.
so i have no idea ,if i use PAMIE,it really helpful to make script to relate
with win32-python.
ok my problem is ,
while im making script,i was encounter two probelm.
first , i want to let work my script Beautifulsoup and PAMIE.
so i was googled, and only i can found 1 hint.
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.

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

and follow is my script. how to make it to work ?
from BeautifulSoup import BeautifulSoup
from PAM30 import PAMIE

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

my second problem is,while im making script,i think sometime i need normal
IE interface.
is it possible to change PAMIE's IE interface to just normal IE
interface(InternetExplorer.Application)?
i don't want to open new IE window to work with normal IE interface,want to
continue work with current PAMIE's IE windows.
sorry for my bad english
Paul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top