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
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
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
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
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
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'}))
&
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
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
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
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
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.
>>
>>
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
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
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
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