Put a url in a browsers address bar

2005-08-18 Thread Colin Gillespie
Dear All, I would like to place a url in my browsers address bar, then execute. How can do this? e.g. def goToGoogle(): url = "www.google.com" b = openBrowser() b.goToUrl(url) return True Thanks for any help Colin -- http://mail.python.org/

Re: Put a url in a browsers address bar

2005-08-18 Thread Colin Gillespie
> >> I would like to place a url in my browsers address bar, then execute. >> How can do this? >> > > def goToGoogle(): > import webbrowser > webbrowser.open("www.google.com"); > Thanks for the quick reply. Do you know what module I would use to fill out a form on an open web page? Th

Re: Python 2.1 Bible Source

2005-08-25 Thread Colin Gillespie
SuppressedPen wrote: > Hi Everyone! > > Just started with Python 2 weeks ago and I can't put it down it's to easy > and to powerful, I'm sure the goons will be after us for having it soon, Hi > Hi. > > Was wondering if anyone might know where I can find the source code for > PYTHON 2.1 BIBLE book

Re: Calling a Postgres Function using CGI written in Python

2006-05-03 Thread Colin Gillespie
A quick google for "Python CGI" gives you lots of links. But if you intend to do much in the way of cgi, then I would recommend the spyce framework,http://spyce.sourceforge.net/ HTH Colin Fuzzydave wrote: > I need to call a function stored in Postgres which does a lot of the db > and calculat

Re: regex to exctract informations

2006-05-05 Thread Colin Gillespie
Bob wrote: > Dears, > > I am trying to search and replace strings with regex. > > The string is identified by a keyword : > > IDImage("1M234567"); > DescriptionImage("Desc of the Image 1"); > > I want to exctract the IDImage (1M234567 ) and the Description. > > The ID are characters and number

Re: Drop Down Menus...

2006-05-05 Thread Colin Gillespie
bruce wrote: > Hi... > > Never used python, but I have a question regarding Drop Down Menus. Does > Python allow me to create a website, that will permit the user to create > Drop Down menus that can be initiated with the right mouse click? If it can, > is it fairly easy to implement? > > Thanks