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
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
: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_
, '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
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
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
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
:
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
;, 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
\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
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
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
, 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
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
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*
15 matches
Mail list logo