问题描述
其他人是否有使用webbrowser模块的问题?
Python 2.5.1c1(release25-maint,2007年4月12日,21:00:25)
[gCC 4.1.2(Ubuntu 4.1.2-0ubuntu4)] on linux2
输入help,copyright,credit等等。或许可证或欲获得更多信息。
Is anyone else having problems with the webbrowser module?
Python 2.5.1c1 (release25-maint, Apr 12 2007, 21:00:25)
[GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
True
True
按预期打开firefox,但网址是...
file :/// home / ron /%22http://www.python.org%22
当然不会做出预期的事情。
有什么想法吗?
Ron
It opens firefox as expected, but the url is ...
file:///home/ron/%22http://www.python.org%22
Which of course doesn''t do what is expected.
Any ideas?
Ron
推荐答案
True
True
按预期打开firefox,但网址是...
file:/// home / ron /%22http://www.python.org%22
当然没有做到的预期。
有什么想法吗?
Ron
It opens firefox as expected, but the url is ...
file:///home/ron/%22http://www.python.org%22
Which of course doesn''t do what is expected.
Any ideas?
Ron
我不知道。这适用于Windows XP SP2上的Python 2.4。
文档不多说(
webbrowser.html)。也许阅读模块的
代码是有益的?或者使用注册手动命令?
Mike
I don''t know. This works for me with Python 2.4 on Windows XP SP2. The
docs don''t say much (http://docs.python.org/lib/module-
webbrowser.html). Maybe it would be beneficial to read the module''s
code? Or use the "register" command manually?
Mike
True
True
按预期打开firefox,但网址是...
file:/// home / ron /%22http://www.python .org%22
当然不会做什么预期。
任何想法?
Ron
It opens firefox as expected, but the url is ...
file:///home/ron/%22http://www.python.org%22
Which of course doesn''t do what is expected.
Any ideas?
Ron
我不知道。这适用于Windows XP SP2上的Python 2.4。
文档不多说(
webbrowser.html)。也许阅读模块的
代码是有益的?或者使用注册手动命令?
I don''t know. This works for me with Python 2.4 on Windows XP SP2. The
docs don''t say much (http://docs.python.org/lib/module-
webbrowser.html). Maybe it would be beneficial to read the module''s
code? Or use the "register" command manually?
它也适用于python 2.4,但不适用于更高版本。
看起来我需要尝试在webbrowser.py上调用
浏览器时测试网址。
其他人可以在python 2.5上测试吗?
Ron
It works for me on python 2.4 also, but not on later versions.
Looks like I''ll need to try to test the url at the point where it calls the
browser from webbrowser.py.
Can someone else test this on python 2.5?
Ron
我不知道。这适用于Windows XP SP2上的Python 2.4。
文档不多说(
webbrowser.html)。也许阅读模块的代码是有益的?或者使用注册手动命令?
I don''t know. This works for me with Python 2.4 on Windows XP SP2. The
docs don''t say much (http://docs.python.org/lib/module-
webbrowser.html). Maybe it would be beneficial to read the module''s
code? Or use the "register" command manually?
它也适用于python 2.4,但不适用于更高版本。
看起来我需要尝试在webbrowser.py上调用
浏览器时测试网址。
其他人可以在python 2.5上测试吗?
It works for me on python 2.4 also, but not on later versions.
Looks like I''ll need to try to test the url at the point where it calls the
browser from webbrowser.py.
Can someone else test this on python 2.5?
在我的Windows笔记本电脑上,它适用于2.4.1和2.5.1原生,但不适用于Cygwin的
2.5.1。
问候
Steve
-
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC / Ltd
------------------ Asciimercial -------------- -------
上网:博客,镜头和标签你的名气!!
holdenweb.blogspot.com squidoo.com/ pythonology
标记物品:del.icio.us/steve.holden/python
所有这些服务目前提供免费注册!
--- -----------感谢您的阅读----------------
On my Windows laptop it works on 2.4.1 and 2.5.1 native, but not on
2.5.1 for Cygwin.
regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden
------------------ Asciimercial ---------------------
Get on the web: Blog, lens and tag your way to fame!!
holdenweb.blogspot.com squidoo.com/pythonology
tagged items: del.icio.us/steve.holden/python
All these services currently offer free registration!
-------------- Thank You for Reading ----------------
这篇关于webbrowser模块错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!