Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!usenet-fr.net!nerim.net!novso.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.016 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'much!': 0.05; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'gui': 0.11; 'library': 0.15; 'clashes': 0.16; 'poll': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'world!")': 0.16; 'wrote:': 0.17; 'instance': 0.17; 'question.': 0.20; 'url:com)': 0.22; 'example': 0.23; 'allows': 0.25; 'header :User-Agent:1': 0.26; 'subject:please': 0.27; 'thoughts': 0.27; "doesn't": 0.28; 'developing': 0.28; 'header:X-Complaints-To:1': 0.28; 'name?': 0.29; "i'm": 0.29; 'function': 0.30; 'could': 0.32; 'automation': 0.33; 'function.': 0.33; 'picking': 0.33; 'to:addr :python-list': 0.33; 'hi,': 0.33; 'built-in': 0.35; 'nov': 0.35; 'received:org': 0.36; 'michael': 0.36; 'tool': 0.36; 'but': 0.36; 'thank': 0.36; 'charset:us-ascii': 0.36; 'uses': 0.37; 'rather': 0.37; 'subject:: ': 0.38; 'things': 0.38; 'to:addr:python.org': 0.39; 'little': 0.39; 'header:Received:5': 0.40; 'your': 0.60; 'most': 0.61; 'here': 0.65; 'our': 0.65; 'difficulty': 0.65; 'click': 0.76; 'mistaken': 0.84; 'received:sd.cox.net': 0.84; 'sec.': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: rh Subject: Re: 10 sec poll - please reply! Date: Tue, 20 Nov 2012 21:25:44 -0800 References: <3d71f175-164e-494c-a521-2eaa5679b524@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: ip68-6-43-149.sb.sd.cox.net User-Agent: dsodnetnin X-Mailer: EZnn0.37p X-Newsreader: EZnn0.37p X-Gmane-NNTP-Posting-Host: EZnn0.37p Original-Received: from slem by 1.1 with local X-No-Archive: yes Archive: no X-Archive: expiry=11 X-Archive: encrypt X-Operating-System: Barebones_6.1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 39 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1353475516 news.xs4all.nl 6858 [2001:888:2000:d::a6]:46169 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:33704 On Tue, 20 Nov 2012 04:18:38 -0800 (PST) Michael Herrmann wrote: > Hi, > > I'm developing a GUI Automation library (http://www.getautoma.com) > and am having difficulty picking a name for the function that > simulates key strokes. I currently have it as 'type' but that clashes > with the built-in function. Example uses of 'type': > > type(ENTER) > > type("Hello World!") > > type(CTRL + 'a') > > What, in your view, would be the most intuitive alternative name? keybot() or kbbot() To counter your question. 10 sec. poll for the name for the law that states that people will discuss/argue the most over those things having little or no significance. > > Here are my thoughts so far: I could call it 'press' but then our GUI > automation tool also allows you to click things and then "press" > might be mistaken for "pressing a button". A less ambiguous > alternative is "type_keys" but that is rather long and doesn't read > as well, for instance in type_keys(ENTER). > > Thank you very much! --