Does anyone have an entire (simple) script for someone new to
programming and Python that will illustrate how to open an https site
and log on to it (with the script providing the username and password,
if that's possible). Thanks very much.
rpd
"Electricity is actually made up of extremely tiny
That's what I get for scimming the documentation too quickly.
Got it, thanks!
For anyone else working on something similar, here is all I did... mind
you, this is my first experience with python.
# subclass of FancyURLopener so we can override the
prompt_user_password method
class DBCheckUrlOpen
>From the docs for urllib:
When performing basic authentication, a FancyURLopener instance calls
its prompt_user_passwd() method. The default implementation asks the
users for the required information on the controlling terminal. A
subclass may override this method to support more appropriate beha
Hi,
I'm new to python. I've been handed the job of modifying a script we
have here at work that pulls content from a zope site, to create static
html. They wanted a check to make sure the database is up, while
pulling, to avoid errors.
I got it pretty much working how I want without any problems.