Re: [python-win32] PAMIE and BeautifulSoup

2006-02-17 Thread Waldemar Osuch
> > From BeautifulSoup import BeautifulSoup > > Import cPAMIE > > url = 'http://www.cnn.com' > > ie = cPAMIE.PAMIE(url) > bs = BeautifulSoup(ie.pageText()) ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/py

Re: [python-win32] Using win32com Constants

2006-02-17 Thread John Machin
On 18/02/2006 11:25 AM, Dan Glassman wrote: > David Carter wrote: > >>>-Original Message- >>>From: Robert Brewer [mailto:[EMAIL PROTECTED] >>>Sent: Friday, February 17, 2006 4:11 PM >>>To: David Carter; python-win32@python.org >>>Subject: RE: [python-win32] Using win32com Constants >>> >>

Re: [python-win32] Using win32com Constants

2006-02-17 Thread Dan Glassman
David Carter wrote: >>-Original Message- >>From: Robert Brewer [mailto:[EMAIL PROTECTED] >>Sent: Friday, February 17, 2006 4:11 PM >>To: David Carter; python-win32@python.org >>Subject: RE: [python-win32] Using win32com Constants >> >> >>David Carter wrote: >> >>>Why is it that when I want

[python-win32] PAMIE and BeautifulSoup

2006-02-17 Thread Williams, Thomas
Greetings,   I am using PAMIE to interact with web pages.  Essentially, I am entering values then submitting the form.  What I have not yet figured out is to read the source code for the resulting website.   I have used BeautifulSoup to do this on other websites, but I am unable to incorp

Re: [python-win32] Using win32com Constants

2006-02-17 Thread David Carter
Yes, -those- constants work fine. They're the application specific constants that require the convolution. David Carter > -Original Message- > From: Robert Brewer [mailto:[EMAIL PROTECTED] > Sent: Friday, February 17, 2006 4:11 PM > To: David Carter; python-win32@python.org > Subject: RE

Re: [python-win32] Using win32com Constants

2006-02-17 Thread Robert Brewer
David Carter wrote: > Why is it that when I want to use a win32COM constant such as > acViewNormal in an MS Access COM automation session I find I > have to use some convoluted thing like: > > ComConstants = > win32com.client.constants.__dict__["__dicts__"][0] > viewtype = ComConstan

[python-win32] Using win32com Constants

2006-02-17 Thread David Carter
Why is it that when I want to use a win32COM constant such as acViewNormal in an MS Access COM automation session I find I have to use some convoluted thing like: ComConstants = win32com.client.constants.__dict__["__dicts__"][0] viewtype = ComConstants['acViewNormal'] Am I missing

Re: [python-win32] MS Access and Python

2006-02-17 Thread Mark Mc Mahon
Hi Math, On 2/17/06, Math <[EMAIL PROTECTED]> wrote: > Hello, > > I don't know if I ask at the right place. > But..I use Python, win32com.client and ADO together with MS Access. > What I don't know, what do I need when I wanna distribute my Python-program? > What does the enduser need, how do I ch

[python-win32] MS Access and Python

2006-02-17 Thread Math
Hello, I don't know if I ask at the right place. But..I use Python, win32com.client and ADO together with MS Access. What I don't know, what do I need when I wanna distribute my Python-program? What does the enduser need, how do I check it and what extras do I have to provide? Anybody any ideas w

[python-win32] File permissions...

2006-02-17 Thread James Carroll
How do I grant permissions on directories with pythonwin? At the moment we use a command line utility: cacls "existing path" /E /T /P Everyone:F To give Everyone full access (:F) by modifying an existing ACL (/E) and affecting all contents of the directory (/T) I'd like to do it all with shell

[python-win32] bad W32 logfiles cause win32evtlog to exit without an error

2006-02-17 Thread Ben Vinger
Hello I've modified John Nielsen's code (see http://aspn.activestate.com/ASPN/docs/ActivePython/2.4/pywin32/Windows_NT_Eventlog.html) to read and summarize the eventlogs of dozens of servers. When the script (running on W2K) connects to one or two of these NT servers, it exits without any tracebac