2006年07月06日 星期四 11:32
我希望当鼠标停留在网页的按钮、输入框等页面控件上面时,使用python的程序就能获取到这个控件的属性,例如name或id这些。大家有什么好的建议? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060706/774580b3/attachment.htm
2006年07月06日 星期四 11:36
需求不是很明确.. 控件+onmouseover 触发 ajax 发到python 行吗?? ----- Original Message ----- From: 尹祥龙 To: python-chinese at lists.python.cn Sent: Thursday, July 06, 2006 11:32 AM Subject: [python-chinese] 怎么获得网页的按钮、输入框等等的名称? 我希望当鼠标停留在网页的按钮、输入框等页面控件上面时,使用python的程序就能获取到这个控件的属性,例如name或id这些。大家有什么好的建议? ------------------------------------------------------------------------------ _______________________________________________ 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060706/e4bedfc9/attachment.html
2006年07月06日 星期四 11:58
XML and dom Best Regards, Zachary Wu (Îâ°~ÀÚ) Software Engineer, Enterprise Content Management FVT, IBM China Software Development Lab Tel: +86 10 82782244-3235. Fax: 82782244-2886 Tie Line: 915-2244-3235 Internet: xiaoleiw at cn.ibm.com Notes ID: Xiao Lei Wu/China/Contr/IBM at IBMCN Address: 8/F, Block A, Power Creative Building, No.1, East Road, Shang Di, Beijing 100085, P.R. China python-chinese-bounces at lists.python.cn дÓÚ 2006-07-06 11:32:00: > ÎÒÏ£Íûµ±Êó±êÍ£ÁôÔÚÍøÒ³µÄ°´Å¥¡¢ÊäÈë¿òµÈÒ³Ãæ¿Ø¼þÉÏÃæʱ£¬Ê¹ÓÃpythonµÄ³Ì > Ðò¾ÍÄÜ»ñÈ¡µ½Õâ¸ö¿Ø¼þµÄÊôÐÔ£¬ÀýÈçname»òidÕâЩ¡£´ó¼ÒÓÐʲôºÃµÄ½¨Ò飿 > _______________________________________________ > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060706/6664b924/attachment.htm
2006年07月07日 星期五 08:48
ÎÒ¾ÍÊÇÏë×ö³öÀàËÆÓÚ½ðɽ´Ê°Ô×Ô¶¯È¡´Ê¹¦ÄÜÄÇÖÖ£¬µ±Êó±ê·ÅÔÚÆÁÄ»ÉÏÒ»¸ö´ÊÉÏÃæÏÔʾ¸Ã´ÊµÄÓ¢ÎÄ£¬ÎÒÐèÒªµ±Êó±ê·ÅÔÚÍøÒ³ÉÏÃæÒ»¸ö¿Ø¼þÉÏÃæ¾ÍÖªµÀÕâ¸ö¿Ø¼þµÄÊôÐÔ¡£ On 7/6/06, Xiao Lei Wu <xiaoleiw at cn.ibm.com> wrote: > > XML and dom > > Best Regards, > > Zachary Wu (Îâ°~ÀÚ) > Software Engineer, Enterprise Content Management FVT, IBM China Software > Development Lab > Tel: +86 10 82782244-3235. Fax: 82782244-2886 Tie Line: 915-2244-3235 > Internet: xiaoleiw at cn.ibm.com > Notes ID: Xiao Lei Wu/China/Contr/IBM at IBMCN > Address: 8/F, Block A, Power Creative Building, No.1, East Road, Shang Di, > Beijing 100085, P.R. China > > python-chinese-bounces at lists.python.cn дÓÚ 2006-07-06 11:32:00: > > > ÎÒÏ£Íûµ±Êó±êÍ£ÁôÔÚÍøÒ³µÄ°´Å¥¡¢ÊäÈë¿òµÈÒ³Ãæ¿Ø¼þÉÏÃæʱ£¬Ê¹ÓÃpythonµÄ³Ì > > > Ðò¾ÍÄÜ»ñÈ¡µ½Õâ¸ö¿Ø¼þµÄÊôÐÔ£¬ÀýÈçname»òidÕâЩ¡£´ó¼ÒÓÐʲôºÃµÄ½¨Ò飿 > > _______________________________________________ > > 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060707/1ddb5400/attachment.html
2006年07月07日 星期五 09:24
On 7/7/06, 尹祥龙 <yinxianglong at gmail.com> wrote: > 我就是想做出类似于金山词霸自动取词功能那种,当鼠标放在屏幕上一个词上面显示该词的英文,我需要当鼠标放在网页上面一个控件上面就知道这个控件的属性。 > 象firefox和ie都有dom查看器,用它们不就行了。 -- I like python! My Blog: http://www.donews.net/limodou My Django Site: http://www.djangocn.org NewEdit Maillist: http://groups.google.com/group/NewEdit
2006年07月07日 星期五 09:45
ÄÇÕâÖÖÒªÇó¸úÍøÒ³ÎÞ¹ØÁË£¬µÃÒÀ¿¿±¾µØʵÏÖ£¬×÷IE»òÕßFFµÄÀ©Õ¹°É Best Regards, Zachary Wu (Îâ°~ÀÚ) Software Engineer, Enterprise Content Management FVT, IBM China Software Development Lab Tel: +86 10 82782244-3235. Fax: 82782244-2886 Tie Line: 915-2244-3235 Internet: xiaoleiw at cn.ibm.com Notes ID: Xiao Lei Wu/China/Contr/IBM at IBMCN Address: 8/F, Block A, Power Creative Building, No.1, East Road, Shang Di, Beijing 100085, P.R. China python-chinese-bounces at lists.python.cn дÓÚ 2006-07-07 08:48:55: > ÎÒ¾ÍÊÇÏë×ö³öÀàËÆÓÚ½ðɽ´Ê°Ô×Ô¶¯È¡´Ê¹¦ÄÜÄÇÖÖ£¬µ±Êó±ê·ÅÔÚÆÁÄ»ÉÏÒ»¸ö´ÊÉÏ > ÃæÏÔʾ¸Ã´ÊµÄÓ¢ÎÄ£¬ÎÒÐèÒªµ±Êó±ê·ÅÔÚÍøÒ³ÉÏÃæÒ»¸ö¿Ø¼þÉÏÃæ¾ÍÖªµÀÕâ¸ö¿Ø¼þµÄÊô ÐÔ¡£ > On 7/6/06, Xiao Lei Wu <xiaoleiw at cn.ibm.com> wrote: > XML and dom > > Best Regards, > > Zachary Wu (Îâ°~ÀÚ) > Software Engineer, Enterprise Content Management FVT, IBM China > Software Development Lab > Tel: +86 10 82782244-3235. Fax: 82782244-2886 Tie Line: 915-2244-3235 > Internet: xiaoleiw at cn.ibm.com > Notes ID: Xiao Lei Wu/China/Contr/IBM at IBMCN > Address: 8/F, Block A, Power Creative Building, No.1, East Road, > Shang Di, Beijing 100085, P.R. China > > python-chinese-bounces at lists.python.cn дÓÚ 2006-07-06 11:32:00: > > > ÎÒÏ£Íûµ±Êó±êÍ£ÁôÔÚÍøÒ³µÄ°´Å¥¡¢ÊäÈë¿òµÈÒ³Ãæ¿Ø¼þÉÏÃæʱ£¬Ê¹ÓÃpythonµÄ³Ì > > > Ðò¾ÍÄÜ»ñÈ¡µ½Õâ¸ö¿Ø¼þµÄÊôÐÔ£¬ÀýÈçname»òidÕâЩ¡£´ó¼ÒÓÐʲôºÃµÄ½¨Ò飿 > > _______________________________________________ > > 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 > _______________________________________________ > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060707/0674ba89/attachment.htm
2006年07月07日 星期五 11:50
On 7/7/06, Xiao Lei Wu <xiaoleiw at cn.ibm.com> wrote: > > 那这种要求跟网页无关了,得依靠本地实现,作IE或者FF的扩展吧 > 不需要,只是页面元素的话onmouseover事件就够了。 即使是取词翻译,不考虑效率问题的话也只要结合ajax就可以了。 做出类似于金山词霸自动取词功能那种,当鼠标放在屏幕上一个词上 > > 面显示该词的英文,我需要当鼠标放在网页上面一个控件上面就知道这个控件的属性。 > 这是javascript的问题,和python无关,只是页面元素的信息的话,连ajax都不需要。 你去查查javascipt和dom的文档吧。 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060707/afc14062/attachment.html
Zeuux © 2025
京ICP备05028076号