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

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

Re: creating dictionarie names, using variables?

2006-01-11 Thread Livin
: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 dictionary. Don't do that. item[5]='Kitchen Ceiling Lights' devDictName = item[5].replace(' ','+') 'dict_

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

2006-01-08 Thread livin
, 'Operation timed out') Kent Johnson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] livin wrote: I beleive so... I cannot know for sure becasue the models are not separate... they are in the python23.zlib file... I'm no sure how to check the file, it looks as if it is compiled (I'm

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 livin@@cox.net wrote in message news:[EMAIL PROTECTED] Dennis, Alan, Mike... help? According to the HomeSeer (I'm trying

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

2006-01-07 Thread livin
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+100x=4y=6'})) INFO INFO File Q:\python\python23.zlib\urllib.py, line 78, in urlopen INFO File Q:\python\python23.zlib

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+100x=4y=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 open

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

2006-01-04 Thread livin
: 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 livin@@cox.net wrote in message news:[EMAIL PROTECTED] The library is the PC version of 2.3 --- I

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

2006-01-01 Thread livin
;, 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 livin@@cox.net writes: I need to post form data to an ASP page that looks like this on the page itself... form method

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

2006-01-01 Thread livin
\python23.zlib\httplib.py, line 597, in _send_output File Q:\python\python23.zlib\httplib.py, line 576, in send File string, line 1, in sendall IOError : [Errno socket error] (10057, 'Socket is not connected') Alan Kennedy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [livin] I'm

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

2006-01-01 Thread livin
option value=7070%/option option value=8080%/option option value=9090%/option option value=100100%/option /select /td/form Alan Kennedy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [livin] I have tried the code you suggested and .. .. Either way I get this error log... File Q

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

2006-01-01 Thread livin
option value=7070%/option option value=8080%/option option value=9090%/option option value=100100%/option /select /td/form Dennis Lee Bieber [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sun, 1 Jan 2006 12:35:06 -0700, livin livin@@cox.net declaimed the following in comp.lang.python

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

2005-12-27 Thread livin
, 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 livin@@cox.net writes: I need to post form data to an ASP page that looks like this on the page itself... form method='POST'input src

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... form method='POST'input src=\icons\devices\coffee-on.gif type='image' align='absmiddle' width=16 height=16 title='Off'input type='hidden' value='Image' name='Action'input type='hidden' value='hs.ExecX10ByName

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*