On 2013-02-25, 03:37 GMT, llanitedave wrote:
url_link = file:/// + fullpath
Isn't this too many slashes. On Linux I get URI
file:usr/share/doc/whatever.html
which is just too many slashes (it should be three, two for the
protocol, one for the root directory).
Matěj
--
On 2/25/2013 1:26 AM, llanitedave wrote:
On the other hand, it *is* a bit frustrating that Linux recognizes an
html-style relative path, while Windows insists on the entire
absolute path. Maybe we can call it a Windows bug, but a workaround
would be nice to have.
You can file an enhancement
I created an html help page for my Python 2.7.3 application and put it in a
documentation folder. I used webbrowser.open() to fetch the page.
On linux -- KDE specifically, the command opens the local file on my default
browser with no issues. However, on Windows 7, it opens Internet Explorer,
On Feb 24, 2013 1:21 AM, llanitedave llanited...@veawb.coop wrote:
I created an html help page for my Python 2.7.3 application and put it in
a documentation folder. I used webbrowser.open() to fetch the page.
On linux -- KDE specifically, the command opens the local file on my
default browser
Rather than using a relative path, try using
webbrowser.open('{}/documentation/help.html'.format(os.path.dirname(__file__))).
On Sun, Feb 24, 2013 at 1:17 AM, llanitedave llanited...@veawb.coop wrote:
I created an html help page for my Python 2.7.3 application and put it in a
documentation
On Feb 24, 2013 1:21 AM, llanitedave llanited...@veawb.coop wrote:
I created an html help page for my Python 2.7.3 application and put it in
a documentation folder. I used webbrowser.open() to fetch the page.
On linux -- KDE specifically, the command opens the local file on my
default browser
On Sunday, February 24, 2013 1:35:31 AM UTC-8, Chris Rebert wrote:
On Feb 24, 2013 1:21 AM, llanitedave llani...@veawb.coop wrote:
I created an html help page for my Python 2.7.3 application and put it in a
documentation folder. I used webbrowser.open() to fetch the page.
On
On 24/02/2013 20:28, llanitedave wrote:
On Sunday, February 24, 2013 1:35:31 AM UTC-8, Chris Rebert wrote:
On Feb 24, 2013 1:21 AM, llanitedave llani...@veawb.coop wrote:
I created an html help page for my Python 2.7.3 application and put it in a
documentation folder. I used
On Sun, Feb 24, 2013 at 12:28 PM, llanitedave llanited...@veawb.coop wrote:
On Sunday, February 24, 2013 1:35:31 AM UTC-8, Chris Rebert wrote:
On Feb 24, 2013 1:21 AM, llanitedave llani...@veawb.coop wrote:
I created an html help page for my Python 2.7.3 application and put it in
a
On Sunday, February 24, 2013 12:48:40 PM UTC-8, Chris Rebert wrote:
On Sun, Feb 24, 2013 at 12:28 PM, llanitedave llanited...@veawb.coop wrote:
On Sunday, February 24, 2013 1:35:31 AM UTC-8, Chris Rebert wrote:
On Feb 24, 2013 1:21 AM, llanitedave llani...@veawb.coop wrote:
I created
On Sunday, February 24, 2013 12:50:02 PM UTC-8, Mark Lawrence wrote:
On 24/02/2013 20:28, llanitedave wrote:
On Sunday, February 24, 2013 1:35:31 AM UTC-8, Chris Rebert wrote:
On Feb 24, 2013 1:21 AM, llanitedave llani...@veawb.coop wrote:
I created an html help page for
On 2013-02-24 20:28, llanitedave wrote:
On Sunday, February 24, 2013 1:35:31 AM UTC-8, Chris Rebert wrote:
[snip]
Sounds like this might be your problem:
http://bugs.python.org/issue8936
The fix would seem to be ensuring that the URL you pass includes
the scheme (in your case, file:).
Holy
For the record, I completely misread and misunderstood the question. I
should stop posting that late at night :P
On Sun, Feb 24, 2013 at 1:25 AM, Demian Brecht demianbre...@gmail.com wrote:
Rather than using a relative path, try using
On Sunday, February 24, 2013 2:15:10 PM UTC-8, MRAB wrote:
On 2013-02-24 20:28, llanitedave wrote:
On Sunday, February 24, 2013 1:35:31 AM UTC-8, Chris Rebert wrote:
[snip]
Sounds like this might be your problem:
http://bugs.python.org/issue8936
The fix would seem to be
On Sunday, February 24, 2013 3:51:09 PM UTC-8, Demian Brecht wrote:
For the record, I completely misread and misunderstood the question. I
should stop posting that late at night :P
On Sun, Feb 24, 2013 at 1:25 AM, Demian Brecht demianbre...@gmail.com wrote:
Rather than using a
Well, we can mark this one as solved.
Simple enough, actually -- thanks to Chris and Demian for leading me to water.
The following code works on both Linux and Windows 7:
def OnDocs(self, event):
Opens the User's Guide in the default web browser
fullpath =
On 2/24/2013 4:35 AM, Chris Rebert wrote:
Sounds like this might be your problem:
http://bugs.python.org/issue8936
I just closed that issue an invalid. Here is most of what I wrote.
'''
After reading the doc and the code, I am convinced that current behavior
is close to the implied wanted
On 2/24/2013 3:28 PM, llanitedave wrote:
http://bugs.python.org/issue8936
Holy Toledo! That's a two-year-old bug spanning two versions of the language!
We need more volunteers who will do the kind of careful review of
report, doc, and code I just did. Feel free to help.
--
Terry Jan
On Sunday, February 24, 2013 9:35:17 PM UTC-8, Terry Reedy wrote:
On 2/24/2013 4:35 AM, Chris Rebert wrote:
Sounds like this might be your problem:
http://bugs.python.org/issue8936
I just closed that issue an invalid. Here is most of what I wrote.
'''
After reading the
On Mon, Feb 25, 2013 at 5:26 PM, llanitedave llanited...@veawb.coop wrote:
On the other hand, it *is* a bit frustrating that Linux recognizes an
html-style relative path, while Windows insists on the entire absolute path.
Maybe we can call it a Windows bug, but a workaround would be nice to
20 matches
Mail list logo