Re: immutable vs mutable

2014-06-03 Thread Deb Wyatt
> >> And keep asking questions. > > ... but this is definitely good advice. Want to get the most out of > your computer? Step one: Don't be afraid of it. Step two: Don't be > afraid of us, either. There's very little you can do on a computer > that's unexpectedly damaging, and it's easy to keep

Re: Lock Windows Screen GUI using python

2014-06-03 Thread Jaydeep Patil
On Tuesday, 3 June 2014 20:57:32 UTC+5:30, Ian wrote: > On Jun 3, 2014 1:56 AM, "Jaydeep Patil" wrote: > > > I have another query. > > > > > > We can now block user inputs. But in my automation three is copy & paste > > work going on continuously in Excel before plotting the graphs. > > > >

Re: OT: This Swift thing

2014-06-03 Thread Steven D'Aprano
On Tue, 03 Jun 2014 20:27:39 +0100, Nicholas Cole wrote: > Swift may yet be good for PyObjC (the python bridge to the various Apple > libraries); it is possible that there is some kind of translation table > that PyObjC can make use of to make its own method names less ugly. > > Of course, I wish

Re: OT: This Swift thing

2014-06-03 Thread Steven D'Aprano
On Wed, 04 Jun 2014 00:19:34 +0300, Marko Rauhamaa wrote: > Sturla Molden : > >> A Python with static typing would have been far better, IMHO. > > I don't think static typing and Python should be mentioned in the same > sentence. Guido disagrees with you: https://www.python.org/~guido/static-

Re: OT: This Swift thing

2014-06-03 Thread Terry Reedy
On 6/3/2014 10:21 PM, Chris Angelico wrote: https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/Swift_Programming_Language/StringsAndCharacters.html Yeah, I was looking at the same page. Note how, further down, a syntax is given for non-BMP character entities (the

Re: Micro Python -- a lean and efficient implementation of Python 3

2014-06-03 Thread Rustom Mody
On Wednesday, June 4, 2014 9:22:54 AM UTC+5:30, Chris Angelico wrote: > On Wed, Jun 4, 2014 at 1:37 PM, Rustom Mody wrote: > > And so a pure BMP-supporting implementation may be a reasonable > > compromise. [As long as no surrogate-pairs are there] > Not if you're working on the internet. There ar

Re: OT: This Swift thing

2014-06-03 Thread Steven D'Aprano
On Tue, 03 Jun 2014 16:49:55 -0500, Mark H Harris wrote: > I have been engaged in a minor flame debate (locally) over block > delimiters (or lack thereof) which I'm loosing. Locally, people hate > python's indentation block delimiting, and wish python would adopt curly > braces. Cats. "It's dif

Re: Lock Windows Screen GUI using python

2014-06-03 Thread Ian Kelly
On Tue, Jun 3, 2014 at 9:55 PM, Jaydeep Patil wrote: > Hi lan, > > For plotting one graph, I need to use four to five excel files. Currently I > am reading excel files one by one and copy data of excel files to another > single master excel file. This master excel file consists of all data from

Re: Micro Python -- a lean and efficient implementation of Python 3

2014-06-03 Thread Ian Kelly
On Tue, Jun 3, 2014 at 10:40 PM, Rustom Mody wrote: >> 1) Most or all Chinese and Japanese characters > > Dont know how you count 'most' > > | One possible rationale is the desire to limit the size of the full > | Unicode character set, where CJK characters as represented by discrete > | ideograms

Re: immutable vs mutable

2014-06-03 Thread Steven D'Aprano
On Wed, 04 Jun 2014 12:27:36 +1000, Chris Angelico wrote: > Want to be sure your questions are smart? Willing to put in a bit of > effort to make yourself welcomed not just courteously, but > enthusiastically? Check out this essay, one of the more famous ones: > > http://www.catb.org/esr/faqs/sma

Re: Benefits of asyncio

2014-06-03 Thread Burak Arslan
On 03/06/14 14:57, Chris Angelico wrote: On Tue, Jun 3, 2014 at 9:05 PM, Burak Arslan wrote: On 06/03/14 12:30, Chris Angelico wrote: Write me a purely nonblocking web site concept that can handle a million concurrent connections, where each one requires one query against the database, and one

Re: OT: This Swift thing

2014-06-03 Thread Marko Rauhamaa
Steven D'Aprano : > On Wed, 04 Jun 2014 00:19:34 +0300, Marko Rauhamaa wrote: >> I don't think static typing and Python should be mentioned in the >> same sentence. > > Guido disagrees with you: Do you have an opinion yourself? Marko -- https://mail.python.org/mailman/listinfo/python-list

Re: Micro Python -- a lean and efficient implementation of Python 3

2014-06-03 Thread Steven D'Aprano
On Tue, 03 Jun 2014 20:37:27 -0700, Rustom Mody wrote: > On Wednesday, June 4, 2014 3:11:12 AM UTC+5:30, Paul Sokolovsky wrote: > >> With that in mind, I, as many others, think that forcing Unicode bloat >> upon people by default is the most controversial feature of Python3. >> The reason is that

Re: Micro Python -- a lean and efficient implementation of Python 3

2014-06-03 Thread Rustom Mody
On Wednesday, June 4, 2014 10:50:21 AM UTC+5:30, Steven D'Aprano wrote: > On Tue, 03 Jun 2014 20:37:27 -0700, Rustom Mody wrote: > > And so a pure BMP-supporting implementation may be a reasonable > > compromise. [As long as no surrogate-pairs are there] > At the cost on one extra bit, strings cou

Re: Lock Windows Screen GUI using python

2014-06-03 Thread Jaydeep Patil
On Wednesday, 4 June 2014 10:28:28 UTC+5:30, Ian wrote: > On Tue, Jun 3, 2014 at 9:55 PM, Jaydeep Patil wrote: > > > Hi lan, > > > > > > For plotting one graph, I need to use four to five excel files. Currently I > > am reading excel files one by one and copy data of excel files to another >

Re: Micro Python -- a lean and efficient implementation of Python 3

2014-06-03 Thread Ian Kelly
On Jun 3, 2014 11:27 PM, "Steven D'Aprano" wrote: > For technical reasons which I don't fully understand, Unicode only > uses 21 of those 32 bits, giving a total of 1114112 available code > points. I think mainly it's to accommodate UTF-16. The surrogate pair scheme is sufficient to encode up to

Re: Lock Windows Screen GUI using python

2014-06-03 Thread Ian Kelly
On Jun 3, 2014 11:46 PM, "Jaydeep Patil" wrote: > Below is the sample function which doing copy paste in my case. > I am copying data directly by column, not reading each & every value. > Data is too big in heavy. The approach I suggested also operates on ranges, not individual cells. -- https:/

Re: immutable vs mutable

2014-06-03 Thread Deb Wyatt
> -Original Message- > From: et...@stoneleaf.us > Sent: Tue, 03 Jun 2014 18:24:01 -0700 > To: python-list@python.org > Subject: Re: immutable vs mutable > Deb, do yourself a favor and just trash-can anything from Mark Harris. > > And keep asking questions. > > -- > ~Ethan~ Oh, I will.

Re: Unicode and Python - how often do you index strings?

2014-06-03 Thread Gregory Ewing
Chris Angelico wrote: On Wed, Jun 4, 2014 at 11:18 AM, Roy Smith wrote: Um, you mean cent(er|re), don't you? The pattern you wrote also matches centee and centrr. Maybe there's someone who spells it that way! Come visit Pirate Island, the centrr of the universe! -- Pegleg Greg -- https:/

<    1   2