Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #36467
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <redstone-cold@163.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.022 |
| X-Spam-Evidence | '*H*': 0.96; '*S*': 0.00; 'subject:text': 0.05; 'subject:How': 0.09; 'python': 0.09; 'portable': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; 'subject:python': 0.11; '-o,': 0.16; 'subject: \n ': 0.16; 'subject:through': 0.16; 'mon,': 0.16; 'wrote:': 0.17; 'jan': 0.18; "i'd": 0.22; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'environment.': 0.27; 'framework': 0.30; 'subject: ?': 0.30; 'system,': 0.32; 'received:google.com': 0.34; 'text': 0.34; 'received:209.85': 0.35; 'there': 0.35; 'depends': 0.36; 'turn': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'easier': 0.38; 'received:209.85.214': 0.39; 'short': 0.39; 'help': 0.40; 'your': 0.60; 'more': 0.63; 'learned': 0.65; 'webpage': 0.65; 'subject:get': 0.81; '2013': 0.84; '8bit%:60': 0.84; 'dirty': 0.91; 'graphical': 0.91 |
| Newsgroups | comp.lang.python |
| Date | Tue, 8 Jan 2013 18:47:04 -0800 (PST) |
| In-Reply-To | <mailman.274.1357651549.2939.python-list@python.org> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=182.242.152.192; posting-account=Z1-aQQoAAADvnuKxr9sysEiuPIcBNfjX |
| References | <b181f61b-c5c9-461a-9acc-8c79e257fae7@googlegroups.com> <mailman.274.1357651549.2939.python-list@python.org> |
| User-Agent | G2/1.0 |
| X-Google-Web-Client | true |
| X-Google-IP | 182.242.152.192 |
| MIME-Version | 1.0 |
| Subject | Re: How to get the selected text of the webpage in chrome through python ? |
| From | iMath <redstone-cold@163.com> |
| To | comp.lang.python@googlegroups.com |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | quoted-printable |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Message-ID | <mailman.303.1357699629.2939.python-list@python.org> (permalink) |
| Lines | 39 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1357699629 news.xs4all.nl 6857 [2001:888:2000:d::a6]:39322 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:36467 |
Show key headers only | View raw
在 2013年1月8日星期二UTC+8下午9时19分51秒,Bruno Dupuis写道: > On Mon, Jan 07, 2013 at 08:20:28PM -0800, iMath wrote: > > > How to get the selected text of the webpage in chrome through python ? > > > > What you need is a way to get selected text from wherever it comes. The > > way to do this depends on your graphical environment. If you use X, i'd make a > > a quick and dirty call to xclip -o, although there must be a pure python > > implementation which in turn depends on the python framework you play > > with (gtk/qt/wx/tk/...). > > > > Short answer is : it depends on your system, and it may be easier and more > > portable if you use a graphical toolkit. > > > > cheers. > > > > -- > > Bruno Dupuis I use it on WinXP , I also learned PyQt4 . can u help ?
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to get the selected text of the webpage in chrome through python ? iMath <redstone-cold@163.com> - 2013-01-07 20:20 -0800
Re: How to get the selected text of the webpage in chrome through python ? iMath <redstone-cold@163.com> - 2013-01-08 02:52 -0800
Re: How to get the selected text of the webpage in chrome through python ? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-01-08 07:38 -0500
Re: How to get the selected text of the webpage in chrome through python ? Dave Angel <d@davea.name> - 2013-01-08 08:11 -0500
Re: How to get the selected text of the webpage in chrome through python ? iMath <redstone-cold@163.com> - 2013-01-08 18:54 -0800
Re: How to get the selected text of the webpage in chrome through python ? iMath <redstone-cold@163.com> - 2013-01-08 18:54 -0800
Re: How to get the selected text of the webpage in chrome through python ? Bruno Dupuis <lisael@lisael.org> - 2013-01-08 14:19 +0100
Re: How to get the selected text of the webpage in chrome through python ? iMath <redstone-cold@163.com> - 2013-01-08 18:47 -0800
Re: How to get the selected text of the webpage in chrome through python ? iMath <redstone-cold@163.com> - 2013-01-08 18:47 -0800
Re: How to get the selected text of the webpage in chrome through python ? Miki Tebeka <miki.tebeka@gmail.com> - 2013-01-08 06:01 -0800
Re: How to get the selected text of the webpage in chrome through python ? Alister <alister.ware@ntlworld.com> - 2013-01-09 09:35 +0000
Re: How to get the selected text of the webpage in chrome through python ? iMath <redstone-cold@163.com> - 2013-01-09 17:55 -0800
csiph-web