search multiple dictionaries efficiently?

2006-01-17 Thread Livin
I'm a noobie so please be easy on me. I have searched a ton and did not find anything I could understand. I'm using py2.3 I've been using Try/Except but this gets long with multiple dictionaries. I found some code on web pages and such but cannot get them to work. Any help is appreciated as I

Re: creating dictionarie names, using variables?

2006-01-11 Thread Livin
s:[EMAIL PROTECTED] > On Wed, 11 Jan 2006 15:53:48 -0700, > "Livin" <[EMAIL PROTECTED]> wrote: > >> I need to dynamically create dictionary names using strings input at >> the time of creation. These will then be placed into a "Parent" >> dicti

creating dictionarie names, using variables?

2006-01-11 Thread Livin
I need to dynamically create dictionary names using strings input at the time of creation. These will then be placed into a "Parent" dictionary. I'm new to python, and programming, so please bear with me. here's my initial thought but I don't think it will work... item[5]='Kitchen Ceiling Light

Re: how-to POST form data to ASP pages?

2006-01-08 Thread livin
Any ideas on how to troubleshoot the 'Operation timed out' error, or work-around it? I'm just sending a POST to a windows-based web server (non-IIS). thanks! "livin" wrote in message news:[EMAIL PROTECTED] > Dennis, Alan, Mike... help? > > According to t

Re: Help Please: 'module' object has no attribute 'compile'

2006-01-08 Thread livin
564, in send File "Q:\python\python23.zlib\httplib.py", line 548, in connect IOError : [Errno socket error] (10060, 'Operation timed out') "Kent Johnson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > livin wrote: >> I beleive so... I cann

Re: Help Please: 'module' object has no attribute 'compile'

2006-01-07 Thread livin
te in message news:[EMAIL PROTECTED] > livin wrote: >> my log... >> >> INFO urllib.urlopen('http://192.168.1.11/hact/kitchen.asp', >> urllib.urlencode({'Action': 'hs.ExecX10ByName+Kitchen+Lights%2C+On >> %2C+100&x=4&y=6'})) &

Help Please: 'module' object has no attribute 'compile'

2006-01-06 Thread livin
my log... INFO urllib.urlopen('http://192.168.1.11/hact/kitchen.asp', urllib.urlencode({'Action': 'hs.ExecX10ByName+Kitchen+Lights%2C+On %2C+100&x=4&y=6'})) INFO INFO File "Q:\python\python23.zlib\urllib.py", line 78, in urlopen INFO File "Q:\python\python23.zlib\urllib.py", line 159, in op

Re: how-to POST form data to ASP pages?

2006-01-04 Thread livin
h the info: HomeSeer info on Controlling Devices from HTML - http://www.homeseer.com/support/homeseer/WebHelp/web_access/controlling_devices_and_events_from_your_own_pages.htm I appreciate the assistance. "livin" wrote in message news:[EMAIL PROTECTED] > The library is the PC version

Re: how-to POST form data to ASP pages?

2006-01-01 Thread livin
ds I'm using from working HTTP & ASP pages. Here's actual code from an HTML page I'm using for the same device I'm trying in my .PY... 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% "Dennis Lee Bieber" <[EMAIL PROTECTED]> wrote in message news:[EMA

Re: how-to POST form data to ASP pages?

2006-01-01 Thread livin
ds I'm using from working HTTP & ASP pages. Here's actual code from an HTML page I'm using for the same device I'm trying in my .PY... 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% "Alan Kennedy" <[EMAIL PROTECTED]> wrote in message news:[EMAIL

Re: how-to POST form data to ASP pages?

2006-01-01 Thread livin
Socket is not connected') "Alan Kennedy" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > [livin] >> I'm not a coder really at all (I dabble with vbscript & jscript) but an >> asking for help to get this working. >> >>

Re: how-to POST form data to ASP pages?

2006-01-01 Thread livin
urllib.urlopen("http://192.168.1.11:80/hact/kitchen.asp";, params) Can you suggest the correct code to get this working? I appreciate the help! Aaron "Mike Meyer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "livin" write

Re: how-to POST form data to ASP pages?

2005-12-27 Thread livin
uot;Kitchen Espresso Machine", "Off", 100'}) urllib.urlopen("http://192.168.1.11:80/hact/kitchen.asp";, params) "Mike Meyer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "livin" writes: >> I need to pos

how-to POST form data to ASP pages?

2005-12-26 Thread livin
I need to post form data to an ASP page that looks like this on the page itself... I've been trying this but I get a syntax error... params = urllib.urlencode({'hidden': 'hs.ExecX10ByName "Kitchen Espresso Machine", "On", 100'}) urllib.urlopen("http://192.168.1.11:80/hact/kitchen.a

Example Script to parse web page links and extract data?

2005-09-14 Thread livin
I'm hoping someone knows of an example script I can see to help me build mine. I'm looking for an easy way to automate the below web site browsing and pull the data I'm searching for. Here's steps it needs to accomplish... 1) login to the site (windows dialog when hitting web page) *optional*