Re: [Tutor] Starting a browser instance and passing a parameter to it.

2007-11-30 Thread Don Taylor
Eric Brunson wrote: > Don Taylor wrote: >> Eric Brunson wrote: >> >> >>> Definitely, or even just CGIHTTPServer. >>> >>> >> No, I don't think so. I am not a RESTafarian. :-) >> > > Forgive my inexperience with the SimpleXMLRPCServer, but I didn't think > it provided state any more t

Re: [Tutor] Starting a browser instance and passing a parameter to it.

2007-11-29 Thread Eric Brunson
Don Taylor wrote: > Eric Brunson wrote: > > >> Definitely, or even just CGIHTTPServer. >> >> > > No, I don't think so. I am not a RESTafarian. :-) > Forgive my inexperience with the SimpleXMLRPCServer, but I didn't think it provided state any more than any other connection oriented

Re: [Tutor] Starting a browser instance and passing a parameter to it.

2007-11-29 Thread Don Taylor
Eric Brunson wrote: > Definitely, or even just CGIHTTPServer. > No, I don't think so. I am not a RESTafarian. :-) Don. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Starting a browser instance and passing a parameter to it.

2007-11-29 Thread Don Taylor
Kent Johnson wrote: > I can't decide if this is brilliant or crazy or both :-) Definitely crazy, but I hope both. In addition, I want to be able to run these apps on a Nokia Internet Tablet... > > I guess what you get from XMLRPC is an almost-free way to expose > functions to the browser. Y

Re: [Tutor] Starting a browser instance and passing a parameter to it.

2007-11-29 Thread Eric Brunson
Kent Johnson wrote: > Don Taylor wrote: > >> Alan Gauld wrote: >> >> >>> What are you using for the XML-RPC server? Doesn't that need to be a >>> web server of some sort anyhow? XML-RPC communicates using http... >>> >>> >> I am using simpleXMLRPCServer. Yes, XML-RPC does use http a

Re: [Tutor] Starting a browser instance and passing a parameter to it.

2007-11-29 Thread Kent Johnson
Don Taylor wrote: > Alan Gauld wrote: > >> What are you using for the XML-RPC server? Doesn't that need to be a >> web server of some sort anyhow? XML-RPC communicates using http... >> > > I am using simpleXMLRPCServer. Yes, XML-RPC does use http as its > transport protocol, but it does not hav

Re: [Tutor] Starting a browser instance and passing a parameter to it.

2007-11-29 Thread Don Taylor
Alan Gauld wrote: > What are you using for the XML-RPC server? Doesn't that need to be a > web server of some sort anyhow? XML-RPC communicates using http... > I am using simpleXMLRPCServer. Yes, XML-RPC does use http as its transport protocol, but it does not have to run in the context of a

Re: [Tutor] Starting a browser instance and passing a parameter to it.

2007-11-29 Thread Alan Gauld
"Don Taylor" <[EMAIL PROTECTED]> wrote > I have this code: > > import webbrowser > webbrowser.open("file:///D:/EclipseWS/XML-RPCTesting/webbrowser.htm?open=8001") > > when executed it does bring up the web-page ok, but the parameter > (?open=8001) is lost. If I try the same thing with an http url

[Tutor] Starting a browser instance and passing a parameter to it.

2007-11-28 Thread Don Taylor
I am trying to start a browser from within a Python program and I want it to show a local file on my system and I want to pass a parameter to that browser page that will be picked up by some Javascript embedded in the page. I have this code: import webbrowser webbrowser.open("file:///D:/Eclips