Re: [Tutor] Selecting a browser

2007-12-06 Thread Tim Golden
Ricardo Aráoz wrote: > I've registered in the issue tracker, but got scared and didn't post > anything. Don't be scared: just post up what you think is wrong as clearly as possible. If you can reasonably provide a patch, do so. Otherwise, just make it clear what's going on. Even if no-one picks i

Re: [Tutor] Selecting a browser

2007-12-05 Thread Kent Johnson
Ricardo Aráoz wrote: > The other way to handle it would be to include in the documentation that > windows paths should have '/' or '' instead of '\\'. > The choice would depend on whether the authors consider there is a use > for the escape character, and what value that escape character might

Re: [Tutor] Selecting a browser

2007-12-04 Thread Ricardo Aráoz
Tim Golden wrote: > Ricardo Aráoz wrote: >> These guys have given their free time so that we can enjoy their module, > > hey could have no documentation at all... > > That said, my comments about documentation lacking still stand. > > I think the important thing here is that "these guys" is you

Re: [Tutor] Selecting a browser

2007-12-04 Thread Doug Hellmann
+1 On Dec 4, 2007, at 10:36 AM, Andre Roberge wrote: Forwarded to the ghop-discussion list :-) Thanks Kent for the suggestion. André On Dec 4, 2007 11:13 AM, Kent Johnson <[EMAIL PROTECTED]> wrote: Tim Golden wrote: > In addition, for those not following that particular > story, the Google H

Re: [Tutor] Selecting a browser

2007-12-04 Thread Andre Roberge
Forwarded to the ghop-discussion list :-) Thanks Kent for the suggestion. André On Dec 4, 2007 11:13 AM, Kent Johnson <[EMAIL PROTECTED]> wrote: > Tim Golden wrote: > > In addition, for those not following that particular > > story, the Google Highly Open thingy (GHOP) is seeing > > a bunch of

Re: [Tutor] Selecting a browser

2007-12-04 Thread Kent Johnson
Tim Golden wrote: > In addition, for those not following that particular > story, the Google Highly Open thingy (GHOP) is seeing > a bunch of updates, additions and corrections to the > docs being submitted pretty much every day. Which can > only be a good thing! In fact updating the webbrowser do

Re: [Tutor] Selecting a browser

2007-12-04 Thread Tim Golden
Kent Johnson wrote: > Ricardo Aráoz wrote: >> Tim Golden wrote: >>> Agreed. But it would be more constructive to offer a simple >>> patch to the webbrowser docs. > > You don't even need to give a formal patch. Just write the doc change in > plain text and submit it as a bug. True. But the entry

Re: [Tutor] Selecting a browser

2007-12-04 Thread Kent Johnson
Ricardo Aráoz wrote: > Tim Golden wrote: >> Agreed. But it would be more constructive to offer a simple >> patch to the webbrowser docs. You don't even need to give a formal patch. Just write the doc change in plain text and submit it as a bug. > Ok, I took a look. Nice link to know [1], I've ad

Re: [Tutor] Selecting a browser

2007-12-04 Thread Kent Johnson
Ricardo Aráoz wrote: > Thanks Kent, that was certainly the problem. So I went through it just > to hit another wall, when issuing the open method : > ff.open('http://www.google.com') > Traceback (most recent call last): > File "", line 1, in > File "E:\Python25\lib\webbrowser.py", line 1

Re: [Tutor] Selecting a browser

2007-12-04 Thread Tim Golden
Ricardo Aráoz wrote: > Tim Golden wrote: >> Ricardo Aráoz wrote: >>> Martin Walsh wrote: And by the way, the '&' has special meaning to the webbrowser.get method -- it determines whether a BackgroundBrowser or GenericBrowser object is returned. >>> LOL, another demerit to documentati

Re: [Tutor] Selecting a browser

2007-12-04 Thread Ricardo Aráoz
Tim Golden wrote: > Ricardo Aráoz wrote: >> Martin Walsh wrote: >>> And by the way, the '&' has special meaning >>> to the webbrowser.get method -- it determines whether a >>> BackgroundBrowser or GenericBrowser object is returned. >> LOL, another demerit to documentation. > > Agreed. But it would

Re: [Tutor] Selecting a browser

2007-12-04 Thread Tim Golden
Ricardo Aráoz wrote: > These guys have given their free time so that we can enjoy their module, > hey could have no documentation at all... > That said, my comments about documentation lacking still stand. I think the important thing here is that "these guys" is you and me. Documentation is exa

Re: [Tutor] Selecting a browser

2007-12-04 Thread Ricardo Aráoz
Tim Golden wrote: > Ricardo Aráoz wrote: >> Martin Walsh wrote: >>> And by the way, the '&' has special meaning >>> to the webbrowser.get method -- it determines whether a >>> BackgroundBrowser or GenericBrowser object is returned. >> LOL, another demerit to documentation. > > Agreed. But it would

Re: [Tutor] Selecting a browser

2007-12-04 Thread Tim Golden
Ricardo Aráoz wrote: > Martin Walsh wrote: >> And by the way, the '&' has special meaning >> to the webbrowser.get method -- it determines whether a >> BackgroundBrowser or GenericBrowser object is returned. > > LOL, another demerit to documentation. Agreed. But it would be more constructive to o

Re: [Tutor] Selecting a browser

2007-12-03 Thread Simone
Ricardo Aráoz ha scritto: >> ff = webbrowser.get("S:/FirefoxPortable/FirefoxPortable.exe %s &") > That did it, but as I told Kent : > > ff.open('http://www.google.com') > Traceback (most recent call last): > File "", line 1, in > File "E:\Python25\lib\webbrowser.py", line 168, in open >

Re: [Tutor] Selecting a browser

2007-12-03 Thread Ricardo Aráoz
Martin Walsh wrote: > Ricardo Aráoz wrote: >> Martin Walsh wrote: >> Hi Marty, thanks for your help. >> I've tried your suggestions but they don't seem to work for me. In W's >> system window I can do : >> C:/> S:\FirefoxPortable\FirefoxPortable.exe http://www.google.com >> and it will open my brow

Re: [Tutor] Selecting a browser

2007-12-03 Thread Ricardo Aráoz
Kent Johnson wrote: > Ricardo Aráoz wrote: > import webbrowser > ff = webbrowser.get("S:\FirefoxPortable\FirefoxPortable.exe %s &") > ff.open('http://www.google.com') >> False > > Beware of backslashes in file paths - backslash introduces a character > escape in Python strings. You ca

Re: [Tutor] Selecting a browser

2007-12-03 Thread Martin Walsh
Ricardo Aráoz wrote: > Martin Walsh wrote: > Hi Marty, thanks for your help. > I've tried your suggestions but they don't seem to work for me. In W's > system window I can do : > C:/> S:\FirefoxPortable\FirefoxPortable.exe http://www.google.com > and it will open my browser ok. But no matter what I

Re: [Tutor] Selecting a browser

2007-12-03 Thread Kent Johnson
Ricardo Aráoz wrote: import webbrowser ff = webbrowser.get("S:\FirefoxPortable\FirefoxPortable.exe %s &") ff.open('http://www.google.com') > False Beware of backslashes in file paths - backslash introduces a character escape in Python strings. You can fix by any of - use \\ instead

Re: [Tutor] Selecting a browser

2007-12-03 Thread Ricardo Aráoz
Martin Walsh wrote: > Ricardo Aráoz wrote: >> Hi, I've checked webbrowser module and so far I find no way of selecting >> a browser other than the default one. Say I want certain places opened >> with IE and others with Mozilla, and I don't want to mess with the >> user's setting of the default bro

Re: [Tutor] Selecting a browser

2007-12-01 Thread Martin Walsh
Ricardo Aráoz wrote: > Hi, I've checked webbrowser module and so far I find no way of selecting > a browser other than the default one. Say I want certain places opened > with IE and others with Mozilla, and I don't want to mess with the > user's setting of the default browser. Any tips? > TIA I t

[Tutor] Selecting a browser

2007-11-30 Thread Ricardo Aráoz
Hi, I've checked webbrowser module and so far I find no way of selecting a browser other than the default one. Say I want certain places opened with IE and others with Mozilla, and I don't want to mess with the user's setting of the default browser. Any tips? TIA __