On Sep 10, 12:20 pm, jakecjacobson wrote:
> I am trying to build a Python script that reads a Sitemap file and
> push the URLs to a Google Search Appliance. I am able to fetch the
> XML document and parse it with regular expressions but I want to move
> to using native XML tools to do this. The
Hello,
Is this a known issue?
I have a script that authenticates to a web service. urllib2 process
for authenticating for basic auth is supposed to dump out after 5
retries.
Here's a note from the urllib2.py code:
def http_error_auth_reqed(self, auth_header, host, req, headers):
a
On Sep 10, 12:09 pm, naugiedoggie wrote:
> Hello,
>
> I have a script that authenticates to a web service provider to
> retrieve data. This script provides an authentication header built in
> a very basic way like this:
The answer is that there is something whacked in the Windoze
Hello,
I have a script that authenticates to a web service provider to
retrieve data. This script provides an authentication header built in
a very basic way like this:
# Creates an authentication object with the credentials for a given
URL
def createPasswordManager(headers) :
passwordManag
Hello,
Windows 2003, 64-bit, standard edition server with IIS 6.0. I
followed the MS instruction sheets on setting up CGI application with
Python as scripting engine. I'm just getting 404 for the test script,
whereas an html file in the same virtual directory is properly
displayed.
Here:
Creat
On Aug 30, 8:52 am, naugiedoggie wrote:
> On Aug 29, 1:14 pm, MRAB wrote:
>
>
>
>
>
> > On 29/08/2010 15:22, naugiedoggie wrote:
> > > I'm having a problem with using a function as the replacement in
> > > re.sub().
> > > Here is
On Aug 29, 1:14 pm, MRAB wrote:
> On 29/08/2010 15:22, naugiedoggie wrote:
> > I'm having a problem with using a function as the replacement in
> > re.sub().
> > Here is the function:
> > def normalize(s) :
> > return
> > urllib.quote(stri
Hello,
I'm having a problem with using a function as the replacement in
re.sub().
Here is the function:
def normalize(s) :
return
urllib.quote(string.capwords(urllib.unquote(s.group('provider'
The purpose of this function is to proper-case the words contained in
a URL query string param