Python论坛  - 讨论区

标题:[python-chinese] Re: Re: Re: [python-chinese ] ÈçºÎÔÚPYTHONÖе÷ÓÃIE´ò¿ªÒ»¸öURL

2006年04月03日 星期一 07:33

cry zyqmail at tom.com
Mon Apr 3 07:33:53 HKT 2006

linda.s,您好!

这句有吗
import webbrowser

在 2006-04-02 13:09:00 您写道:
>In Mac,
>Traceback (most recent call last):
>  File "", line 1, in ?
>NameError: name 'webbrowser' is not defined
>
>
>On 3/27/06, cry <zyqmail at tom.com> wrote:
>> 马踏飞燕,您好!
>>
>> 谢谢,正是我需要的。PYTHON真的是强大。
>>
>> 在 2006-03-27 23:15:00 您写道:
>> >在 06-3-27,Alan Huang<hygool at gmail.com> 写道:
>> >>
>> >> Hi, all
>> >>
>> >> 如题。
>> >> 如果可以实现,更进一步,如何指定用某种浏览器打开这个URL,比如firefox / tencent TT;
>> >>
>> >> 谢谢赐教!
>> >>
>> >
>> >调用系统缺省浏览器打开URL地址,如 webbrowser.open('http://www.google.com')
>> >
>> >一般的浏览器程序都支持命令行参数的。
>> >例如IE:
>> >C:\Program Files\Internet Explorer>iexplore http://www.google.com
>> >就能打开ie,并且go到http://www.google.com
>> >
>> >用
>> >os.system('C:/Program Files/Internet Explorer/iexplore http://www.google.com')
>> >打开就行了。
>> >_______________________________________________
>> >python-chinese
>> >Post: send python-chinese at lists.python.cn
>> >Subscribe: send subscribe to python-chinese-request at lists.python.cn
>> >Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
>> >Detail Info: http://python.cn/mailman/listinfo/python-chinese
>>
>>>> 礼!
>>
>>             cry
>>             zyqmail at tom.com
>>
>>
>> _______________________________________________
>> python-chinese
>> Post: send python-chinese at lists.python.cn
>> Subscribe: send subscribe to python-chinese-request at lists.python.cn
>> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
>> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>>
>_______________________________________________
>python-chinese
>Post: send python-chinese at lists.python.cn
>Subscribe: send subscribe to python-chinese-request at lists.python.cn
>Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
>Detail Info: http://python.cn/mailman/listinfo/python-chinese

                    致
礼!

            cry
            zyqmail at tom.com



[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号