On 06/18/2013 03:51 AM, Νίκος wrote:
> Στις 18/6/2013 12:05 μμ, ο/η Steven D'Aprano έγραψε:
>> Names are *always* linked to objects, not to other names.
>>
>> a = []
>> b = a # Now a and b refer to the same list
>> a = {} # Now a refers to a dict, and b refers to the same list as before
>
> I see
On 06/19/2013 11:16 PM, Michael Torrie wrote:
> It turns out that lists, hashes (dicts), and classes can pretty much
> do anything with having to much about with C-style pointers and
> such.
Oh wow. Parse error. should read, "pretty much do anything without
having to muck abou
On 06/19/2013 11:48 PM, Steven D'Aprano wrote:
> On Wed, 19 Jun 2013 23:16:51 -0600, Michael Torrie wrote:
>
>> The real power and expressivity of Python comes from embracing the
>> abstractions that Python provides to your advantage. There's a certain
>> elegan
On 06/21/2013 07:41 PM, Chris Angelico wrote:
>> While we're at it, I would like to petition for a function
>> terminates(f, args) that I can use to determine whether a function
>> will terminate before I actually call it.
>
> Nice idea from a theoretical point of view, but practicality beats
> pu
On 06/23/2013 02:40 PM, cutems93 wrote:
> What else do I need? Also, which software is used in daily base? I
> know version control software and bug tracking software are used
> almost everyday by developers. Which software is used less often?
Phew that's quite a list you have there. Are you comi
On 06/23/2013 07:44 PM, Νίκος wrote:
> Why use mako's approach which requires 2 files(an html template and the
> actual python script rendering the data) when i can have simple print
> statements inside 1 files(my files.py script) ?
> After all its only one html table i wish to display.
Sooner o
stuff (e.g. processing LDIF, LDAP URLs and LDAPv3 schema).
Project's web site:
http://www.python-ldap.org/
Ciao, Michael.
Released 2.4.13 2013-06-27
Changes since 2.4.12:
Lib/
* ldapobject.ReconnectLDAPObject._apply_last
On 06/29/2013 05:44 AM, [email protected] wrote:
> Alas, one reason it's a weak workaround is that it doesn't work - at least,
> not how I wish it would:
>
>
> $ cat ptrs
>
> x = 34
>
> def p1 (a1):
>
> a1[0] += 12
>
> p1 ([x])
>
> print (x)
>
> $ python ptrs
> 34
you'll
On 06/29/2013 05:21 AM, [email protected] wrote:
> Thank you. You reminded me of the (weak) workaround of using arrays
> and confirmed my suspicion that I although I can read the variable, I
> won't be able to write to it. I still don't understand why not,
> though...
The real problem
On 06/29/2013 11:02 AM, Antoon Pardon wrote:
> Op 29-06-13 16:02, Michael Torrie schreef:
>>
>> The real problem here is that you don't understand how python variables
>> work. And in fact, python does not have variables. It has names that
>> bind to objects.
>
On 06/29/2013 07:56 AM, Michael Torrie wrote:
> x = [ 34, ]
>
> def test_func( out ):
> out[0] += 12
>
> test_func(x)
>
> print (x)
Well, actually
print (x[0])
--
http://mail.python.org/mailman/listinfo/python-list
On 06/29/2013 12:37 PM, [email protected] wrote:
> :) Thank you guys for saying what I was biting my tongue about
> (thanks everybody for the help, BTW!).
Sometimes it's best to state the actual problem you're trying to solve
and see if there's a pythonic solution that fits it rather th
On 06/29/2013 12:51 PM, Steven D'Aprano wrote:
> You are absolutely correct in principle. But in practice, there are ten
> bazillion C, Pascal, COBOL, and BASIC programmers who understand the word
> "variable" to mean a named memory location, for every Smalltalk or Lisp
> programmer who understa
On 06/29/2013 01:19 PM, Steven D'Aprano wrote:
> Python's basic data types are not necessarily immutable. Lists and dicts
> are not immutable. Being a high-level language, the idea of "primitives"
> like int, double, float, etc from C doesn't really apply. A Python dict
> is not made up from Pyt
On 06/29/2013 01:20 PM, [email protected] wrote:
> exactly that. Without wanting to analyze it in too much depth now, I
> would want a local keyword to allow me to know I was protecting my
> variables, and a way to specify other scopes, without so much implied
> scoping in non-intuitive
On 07/04/2013 02:25 PM, Ferrous Cranus wrote:
> try:
> host = socket.gethostbyaddr( os.environ['REMOTE_ADDR'] )[0]
> except:
> host = "Reverse DNS Failed"
>
> Is there a way to write the above so i cna print the error return when
> it fails?
>
Do you know what IP address causes the
On 07/10/2013 06:22 AM, Mats Peterson wrote:
> You're showing by these examples what regular expressions mean to you.
Chris is showing no such thing. And you are simply trolling. What do
you want us to do, fall down and worship you and admit that Python is a
horrible language and we should all u
On 07/10/2013 06:06 AM, Mats Peterson wrote:
> I haven't provided a "real-world" example, since I expect you Python
> Einsteins to be able do an A/B test between Python and Perl yourselves
> (provided you know Perl, of course, which I'm afraid is not always the
> case). And why would I use any "cu
On 07/10/2013 02:43 AM, Mats Peterson wrote:
> I fear you don’t even know what a regular expression is. Then this will
> of course not affect you.
Hmm, and your stack exchange posts had a similar tone, hmm?
I for one have never ready any of your posts on this forum before, so it
looks like you've
On 07/12/2013 09:59 AM, Joshua Landau wrote:
> If you're interested, the basic of it is that strings now use a
> variable number of bytes to encode their values depending on whether
> values outside of the ASCII range and some other range are used, as an
> optimisation.
Variable number of bytes is
On 07/13/2013 12:23 PM, Νικόλας wrote:
> Do you know a way of implementing anyone of these methods to a script?
Yes. Modern browsers all support a location API in the browser for
javascript. See this:
http://diveintohtml5.info/geolocation.html
--
http://mail.python.org/mailman/listinfo/python
On 07/12/2013 10:32 AM, Νικόλας wrote:
> So, my question now is, if there is some way we can get an accurate Geo
> City database.
As has been said pretty much by every other poster, there is no way to
do get an accurate location database. Period.
The databases that do exist were built by hand,
On 07/15/2013 06:34 PM, Dennis Lee Bieber wrote:
>> I have no idea how to implement the solution you proposed.
>> These are nice ideas we need to have a way of implement them within a
>> script.
>>
>> I have no way of grasping a map of cell towers of a map of wi-fi hotspots.
>>
> You don't.
On 07/17/2013 05:08 AM, [email protected] wrote:
> Ok. Well, what I'm currently doing, based on advice from this thread,
> is to create a new thread that handles the downloading, as well as
> updating a variable for text display on the GUI, and in the main
> thread, just after the thread is creat
On 07/18/2013 03:13 AM, William Bai wrote:
> I found that it was caused by not by python but by
> /usr/lib/locale/locale-archive, the same problem as that described
> in http://illiterat.livejournal.com/4615.html.
Too funny. So in other words there isn't a problem at all. What you
thought was RA
On 07/17/2013 11:39 PM, Eric S. Johansson wrote:
> Not discourage you but this is a "been there, done that" kind of project.
> You could learn more from reading somebody else is code. What hasn't been
> done, and this would be very cool, is a chat program that works
> peer-to-peer with no cen
On 07/18/2013 12:19 PM, Owen Marshall wrote:
> Huh - I (foolishly) didn't realize gmane actually had NNTP, I've always
> used it to search mailing lists. If the list dumped to usenet (much like
> c.l.python) I'd post through sunsite.dk, which is a very nice usenet
> provider. But that still meant s
On 07/21/2013 04:19 AM, [email protected] wrote:
> Thank's for all the replies! I've tried some of the imporovements you
> suggested (using math.exp() and sum() or math.fsum()).
> None of that made the code faster, because they are functions you are calling
> lots of times, and function
On 07/21/2013 10:19 AM, Gilles wrote:
> So, does someone know of a good, SMTP server just to send e-mails?
What you're looking for is not an SMTP server but a Mail Transfer Agent,
called an MTA.
Pretty much all distros ship with an MTA by default, even if the SMTP
server part of it isn't installe
On 07/21/2013 02:34 PM, Gilles wrote:
> Thanks for the infos. Ideally, I was looking for a simple Windows app
> as MTA, but a Python script is OK.
The Sendmail MTA has been ported to many platforms including windows.
But...
> I'm not sure my ISP blocks outbound port 25 connections. I'll
> experim
On 07/21/2013 05:20 AM, Chris “Kwpolska” Warrick wrote:
> On Sun, Jul 21, 2013 at 1:14 PM, Dave Cook wrote:
>> On 2013-07-20, Aseem Bansal wrote:
>>
>>> Do I need to use QtCreator with PySide if I want drag-and-drop
>>> feature for GUI development?
>>
>> No, you just need the layout part of QtCre
On 07/22/2013 06:51 AM, Chris Angelico wrote:
>> Thanks for the tip. I didn't know about SPF
>> http://en.wikipedia.org/wiki/Sender_Policy_Framework
>
> It's a great way of detecting legit vs forged mail. If anyone tries to
> send mail purporting to be from [email protected] and the receiving
>
On 07/22/2013 06:19 AM, Gilles wrote:
> On Sun, 21 Jul 2013 21:01:09 + (UTC), Grant Edwards
> wrote:
>> Unless you've got a static IP address, a domain name, and a valid MX
>> record that will match up when they do a reverse DNS lookup, it's
>> pretty unlikely that you're going to have much lu
On 07/22/2013 06:11 AM, Gilles wrote:
> On Sun, 21 Jul 2013 18:28:27 -0600, Michael Torrie
> wrote:
>> The Sendmail MTA has been ported to many platforms including windows.
>> But...
>
> Thanks for the tip. Since I couldn't find a good, basic, native
> Windows ap
On 07/22/2013 08:15 AM, Chris Angelico wrote:
> If legit mail is rejected for failing an SPF check, it's the sending
> admin's problem, not yours. You should never have problems with it if
> it's set up correctly. And since rejected mail gets reported to the
> transmitting MTA, you don't need to dr
On 07/23/2013 03:30 AM, Chris Angelico wrote:
> On Tue, Jul 23, 2013 at 7:19 PM, Chris Angelico wrote:
>> Ah, there's a solution to this one. You simply use your own
>> envelope-from address; SPF shouldn't be being checked for the From:
>> header.
>
> There's an example, by the way, of this exact
On 07/24/2013 07:40 AM, [email protected] wrote:
> Sorry, you are not understanding Unicode. What is a Unicode
> Transformation Format (UTF), what is the goal of a UTF and
> why it is important for an implementation to work with a UTF.
Really? Enlighten me.
Personally, I would never use UTF as
On 07/24/2013 08:34 AM, Chris Angelico wrote:
> Frankly, Python's strings are a *terrible* internal representation
> for an editor widget - not because of PEP 393, but simply because
> they are immutable, and every keypress would result in a rebuilding
> of the string. On the flip side, I could qui
On 07/24/2013 04:19 PM, Chris Angelico wrote:
> I'm referring here to objections like jmf's, and also to threads like this:
>
> http://mozilla.6506.n7.nabble.com/Flexible-String-Representation-full-Unicode-for-ES6-td267585.html
>
> According to the ECMAScript people, UTF-16 and exposing surrogate
On 07/25/2013 01:07 PM, [email protected] wrote:
> Let start with a simple string \textemdash or \texttendash
>
sys.getsizeof('–')
> 40
sys.getsizeof('a')
> 26
That's meaningless. You're comparing the overhead of a string object
itself (a one-time cost anyway), not the overhead of st
On 07/25/2013 11:18 AM, Steven D'Aprano wrote:
> JMF has explained that it is impossible, impossible I say!, to write an
> editor using a flexible string representation. Since Emacs uses such a
> flexible string representation, Emacs is impossible, and therefore Emacs
> doesn't exist.
Now I'm e
On 07/26/2013 07:21 AM, [email protected] wrote:
sys.getsizeof('––') - sys.getsizeof('–')
>
> I have already explained / commented this.
Maybe it got lost in translation, but I don't understand your point with
that.
> Hint: To understand Unicode (and every coding scheme), you should
> und
On 07/27/2013 12:21 PM, [email protected] wrote:
> Good point. FSR, nice tool for those who wish to teach
> Unicode. It is not every day, one has such an opportunity.
I had a long e-mail composed, but decided to chop it down, but still too
long. so I ditched a lot of the context, which jmf also
On 07/30/2013 12:19 PM, Antoon Pardon wrote:
> So? Why are you making this a point of discussion? I was not aware that
> the pro and cons of various editor buffer implemantations was relevant
> to the point I was trying to make.
I for one found it very interesting. In fact this thread caused me t
On 07/30/2013 01:09 PM, [email protected] wrote:
> Matable, immutable, copyint + xxx, bufferint, O(n)
> Yes, but conceptualy the reencoding happen sometime, somewhere.
> The internal "ucs-2" will never automagically be transformed
> into "ucs-4" (eg).
So what major python project are you wo
On 07/31/2013 01:23 AM, Antoon Pardon wrote:
> Op 31-07-13 05:30, Michael Torrie schreef:
>> On 07/30/2013 12:19 PM, Antoon Pardon wrote:
>>> So? Why are you making this a point of discussion? I was not aware that
>>> the pro and cons of various editor buffer impleman
On 07/31/2013 02:32 AM, [email protected] wrote:
> Unicode/utf*
Why do you keep using the terms "utf" and "Unicode" interchangeably?
--
http://mail.python.org/mailman/listinfo/python-list
On 06/19/2012 12:28 AM, [email protected] wrote:
> Howdy All,
>
> I am trying to use paramiko to automate logging in to remote unix machines
> and executing some commands there.
> When I normally do ssh from my linux machine (with Python 2.6) to this
> machine a different '>' prompt comes.
The last three lines print the return value from the "get_numbers"
function, which isn't returning anything. In python, the default
return value is None, and that's why you're seeing it.
Michael
On Thu, Jun 21, 2012 at 11:42 PM, Xander Solis wrote:
> Hello Pytho
d on GMail's end to
trigger the bug.)
Am I do something wrong, or is this bug still not fixed? Any pointers
would be appreciated. Python 2.6.6 (r266:84292, Dec 7 2011, 20:48:22) on
64-bit Linux 2.6.32.
Michael
--
http://mail.python.org/mailman/listinfo/python-list
Thanks for your reply, Terry.
On Sun, Jun 24, 2012 at 1:12 AM, Terry Reedy wrote:
> On 6/23/2012 1:29 PM, Michael Gundlach wrote:
>
>> Am I do something wrong, or is this bug still not fixed? Any pointers
>
> would be appreciated. Python 2.6.6 (r266:84292, Dec 7 2011, 20:4
Hello again Terry (and mailing list),
On Sun, Jun 24, 2012 at 9:34 AM, Michael Gundlach wrote:
> I've now changed to 2.7.3, and if I don't write back in the next few days,
> it means that that fixed the problem -- thanks for your help! :)
>
The problem still exists in Py
;
Thanks for your advice, Terry. http://bugs.python.org/issue1251 updated as
you suggested. - Michael
--
http://mail.python.org/mailman/listinfo/python-list
pt it prints:
True
4
2
??
Regards,
Michael
--
http://mail.python.org/mailman/listinfo/python-list
What are you keeping in this status file that needs to be saved
several times per second? Depending on what type of state you're
storing and how persistent it needs to be, there may be a better way
to store it.
Michael
On Sun, Jul 8, 2012 at 7:53 AM, Christian Heimes wrote:
> Am 08.07
iar, maybe start by looking at
celery.
Michael
On Mon, Jul 9, 2012 at 1:52 AM, Plumo wrote:
>> What are you keeping in this status file that needs to be saved
>> several times per second? Depending on what type of state you're
>> storing and how persistent it needs to be
On 07/13/2012 03:12 PM, Jean Dubois wrote:
> Thanks for the extra docu references
In this day and age, I think compiling ui files to code is probably on
the way out. Instead you should consider using the ui files directly in
your code. This has the advantage of letting you change the gui
somewha
On 07/14/2012 11:13 AM, rusi wrote:
> I looked at the second link and find code like this:
>
> app = None if ( not app ): app = QtGui.QApplication([])
>
> Maybe I'm dense but whats that if doing there?
>
> Frankly I seem to be a bit jinxed with gui stuff. A few days ago
> someone was singing t
On 07/15/2012 01:58 AM, Vincent Vande Vyvre wrote:
> Rusi is not the op, and his question is about these lines
>
> app = None
> if ( not app ):
Yeah that's a no-op. The original author of that code is clearly
confused there.
>
> not this one
>
> app = QtGui.QApplication([])
>
importantly, there is no value to be gained by making them
objects.
It is valuable for a language to have control statements, as others
have already explained. This is an interesting exercise to think
about what their nature is, but at the end of the day, embrace them
for what they are.
Michael
s":
http://docs.python.org/tutorial/controlflow.html
Michael
On Thu, Jul 26, 2012 at 2:42 AM, Ulrich Eckhardt
wrote:
> pass is not a control statement, it is just a placeholder to make it
> explicit that there is nothing else to be expected here.
>
> Uli
> --
> ht
In case the rest of the email didn't make it obvious, everything you
quoted me on was sarcasm. I know those things can't be done, and I
explained why they can't and shouldn't be done.
Michael
On Thu, Jul 26, 2012 at 5:16 AM, Devin Jeanpierre
wrote:
> On Thu, Jul 26, 2
ython devs like to take their vacations during the
summer too, so there is potential for conflict with that.
Lastly, the main conference is Friday-Sunday, and I think many
students could make that work. It also probably overlaps with a lot
of spring breaks.
Michael
P.S. Instead of doing "
ly on hosting
services like:
- Google App Engine: https://developers.google.com/appengine/
- OpenShift: http://openshift.redhat.com/
- Heroku: http://www.heroku.com/
In sum, python is used widely for a variety of purposes by some of the
largest enterprises down to very small projects.
Michael
On Sun, J
; imp.find_module(), but
> it didn't find any module name containing a '.'
>
> Am I doing anything wrong?
>
> Is there another existing implementation, that helps.
>
> I could do this manually, but this is something I'd just like to do
> if necessary
On 08/19/2012 11:51 AM, [email protected] wrote:
> Five minutes after a closed my interactive interpreters windows,
> the day I tested this stuff. I though:
> "Too bad I did not noted the extremely bad cases I found, I'm pretty
> sure, this problem will arrive on the table".
Reading through this
On 08/20/2012 07:17 AM, Roy Smith wrote:
> In article ,
> Michael Torrie wrote:
>
>> Python generally tries to follow unicode
>> encoding rules to the letter. Thus if a piece of text cannot be
>> represented in the character set of the terminal, then Python will
I would recommend "Dive into Python3"
just goole-search
"dive into python3" filetype:pdf
and you got it!
regards
Michael
* Anonymous Group [2012-08-22 03:40]:
> What books do you recomend for learning python? Preferably free and/or
> online.
> --
> http://
On 09/01/2012 09:15 PM, Ramchandra Apte wrote:
> It converts to *pure* C/C++ *without* using Python or its API so that it can
> be the same speed as C/C++
Sounds like a fun project for you. I hope you learn a lot doing it.
That's reason enough for it. Do you plan to port all the standard
python
On 09/02/2012 12:58 PM, [email protected] wrote:
> My rationale: very simple.
>
> 1) I never heard about something better than sticking with one
> of the Unicode coding scheme. (genreral theory)
> 2) I am not at all convinced by the "new" Py 3.3 algorithm. I'm not the
> only one guy, who noticed
cause of reboot)?
Ciao, Michael.
--
http://mail.python.org/mailman/listinfo/python-list
On 09/12/2012 06:56 AM, Jabba Laci wrote:
> I have an installer script that contains lots of little functions. It
> has an interactive menu and the corresponding function is called. Over
> time it grew long and when I want to add a new function, I should give
> a unique name to that function. Howev
for future comparison.
Michael Harleman
>
> From: Mark Lawrence
>To: [email protected]
>Sent: Tuesday, September 25, 2012 4:15 AM
>Subject: Article on the future of Python
>
>Hi all,
>
>I though this might be of interest.
>
ernal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
==
Do it the other way around:
# cgitb before anything else
import cgitb
cgitb.enable()
# so this error will be caught
from fcgi import WSGIServer
Regar
On 10/04/2012 05:13 PM, Etienne Robillard wrote:
> Thanks, but I tried all that and don't have much energy for continuing. If
> you're
> serious about open source then maybe you can forward the thread to
> django-developers
> and get some fundings to pay for a minimalistic fee to get the project
On 10/05/2012 04:43 AM, Etienne Robillard wrote:
> No. All past notmm licenses were and still ARE ISC licensed. The license fee
> is simply because I'm shifting into commercial license for new releases,
> including
> the newer 0.4.5 version... Pypi was not the authority source for notmm and
> nei
red to reload a script only
> after some time or some number of hits,
Well, that's the whole point of using FastCGI:
Have a long-running process for better performance.
Ciao, Michael.
--
http://mail.python.org/mailman/listinfo/python-list
On 10/05/2012 07:43 PM, 8 Dihedral wrote:
> I think it is OK to have some string attatched in those open source projects.
What are you talking about? What "string?"
> Nowadays the software industry is just like the perfume and prtinting
> and the audio-video entaertainment industry.
True
On 10/07/2012 08:08 PM, alex23 wrote:
> On Oct 8, 11:45 am, Dwight Hutto wrote:
>> What is failed, but a timeline in this scenario, if you found the
>> answer in the end?
>
> It was a _joke_ referring to Michael Torrie's email addressing the
> 8 Dihedral bot _as
On 10/07/2012 09:42 PM, Jason Friedman wrote:
>>> It was a _joke_ referring to Michael Torrie's email addressing the
>>> 8 Dihedral bot _as if it was a person_.
>>
>> Well it would be useful to probe the bot's parameters...
>
> Five eights i
On 10/09/2012 10:00 AM, Jean-Michel Pichavant wrote:
> Greetings,
>
> I'm trying to generate C++ code from an XML file. I'd like to use a template
> engine, which imo produce something readable and maintainable.
> My google search about this subject has been quite unsuccessful, I've been
> redir
On 10/13/2012 09:46 AM, Etienne Robillard wrote:
> OT. you obviously has no clue what agressive behavior mean. :-)
>
> So please continue with the passive tone saying nothing relevant
> and login to facebook.
There's a saying in English. Hit pigeons flutter. I have not been
impressed with your
On 10/19/2012 06:43 PM, Mark Lawrence wrote:
> Good morning/afternoon/evening all,
>
> Is there any possibility that we could find a way to prevent the double
> spaced rubbish that comes from G$ infiltrating this ng/ml? For example,
> does Python have anybody who works for G$ who could pull a f
On 10/26/2012 04:01 PM, [email protected] wrote:
> Error is like cannot set special baud rate. But as I said pyserial
> set this speed without problem for ttyUSB0 So it seems pyserial uses
> diefferent code depending of port type. I tried to simlink ln -s
> ttyACM0 ttyUSB0 but it does not work
No
On 10/29/2012 01:34 PM, Andrew Robinson wrote:
> No, I don't think it big and complicated. I do think it has timing
> implications which are undesirable because of how *much* slices are used.
> In an embedded target -- I have to optimize; and I will have to reject
> certain parts of Python to ma
On 10/30/2012 09:47 AM, Andrew Robinson wrote:
> Let's not confound an issue here -- I am going to implement the python
> interpreter; and am not bound by optimization considerations of the
> present python interpreter -- There are things I can do which as a
> python programmer -- you can't. I
names for the
packages and modules that are imported into the local namespace (like sip or
rtp) and also add new stuff without fearing a namespace conflict in one of the
applications using the library.
I really hope there is a better way :-(.
Michael
smime.p7s
Description: S/MIME cryptogr
27;t look very IDE-friendly.
Thanks for your tips!
Michael
[1]: http://docs.zope.org/zopetoolkit/codingstyle/python-style.html
smime.p7s
Description: S/MIME cryptographic signature
--
http://mail.python.org/mailman/listinfo/python-list
On 11/02/2012 03:13 PM, Andriy Kornatskyy wrote:
>
> Requirements for `account number` generator:
>
> 1. Issue pseudo random consistent number (must be unique for dozen millions
> of records)
> 2. Easy check validity (without a need to make a database call)
>
> Interested? Read more here:
>
>
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!")
ty
it might bother more experienced Python programmers who are used to a
very different meaning of 'type'. Do you think that could be a problem?
Thanks again to all who have replied,
Michael
On Tuesday, November 20, 2012 1:18:38 PM UTC+1, Michael Herrmann wrote:
> Hi,
>
P.S.: The website is back online; our hosting provider was having technical
problems...
On Tuesday, November 20, 2012 1:18:38 PM UTC+1, Michael Herrmann wrote:
> Hi,
>
>
>
> I'm developing a GUI Automation library (http://www.getautoma.com) and am
> having difficulty
parameter indicating the target. It would just be
send_keys(ENTER)
send_keys("Hello World!")
send_keys(CTRL + 'a')
Does that change your preference for 'send_keys'?
Thanks a lot!!!
On Tuesday, November 20, 2012 1:18:38 PM UTC+1, Michael Herrmann wrote
Dear all,
thanks so much for your replies. Based on your inputs, we have started to
experiment with changes to our API. I hope to be able to present the results to
you tomorrow.
Thanks again,
Michael
On Tuesday, November 20, 2012 1:18:38 PM UTC+1, Michael Herrmann wrote:
> Hi,
>
>
n pressing and releasing could
we think easily be done with, say
hold_down(SHIFT)
...
release(SHIFT)
Another ambiguity of 'press' that I pointed out in my original mail is that it
could also be understood as "pressing a button". The current idea is to rais
But then
again you might have people trying to `type(ALT + TAB)`, which in our current
proposal can only be input using `press`...
What do the others think about this?
Cheers
On Thursday, November 22, 2012 8:08:39 PM UTC+1, Chris Angelico wrote:
> On Fri, Nov 23, 2012 at 5:00 AM, Micha
"Hello World!")
enter("test.txt", into="File name")
Thanks,
Michael
On Thursday, November 22, 2012 7:00:55 PM UTC+1, Michael Herrmann wrote:
> Dear all,
>
>
>
> thank you for your replies. After experimenting with your suggestions, we
&
oogle.com/forum/?fromgroups=#!topic/comp.lang.python/GjZ2hAS1Wyk
Thanks,
Michael
On Friday, November 23, 2012 10:08:06 AM UTC+1, Michael Herrmann wrote:
> Hi Steven,
>
>
>
> On Friday, November 23, 2012 6:41:35 AM UTC+1, Steven D'Aprano wrote:
>
> > On Thu, 22 Nov
just how many people would have a problem with this. I know I'm really
spamming this list and apologize. I promise it'll be over soon.
Michael
On Friday, November 23, 2012 5:43:08 PM UTC+1, Kwpolska wrote:
> On Fri, Nov 23, 2012 at 2:42 PM, Michael Herrmann
>
> <...&g
ou were just happily
using `press` with the understanding that it presses and releases keys, so I
hope this one isn't too bad.
As I said, I opened a new thread solely for overriding `type` in the context of
a GUI automation library:
https://groups.google.com/forum/?fromgroups=#!topic/comp.lang.
201 - 300 of 4859 matches
Mail list logo