On Monday 27 April 2015 16:55, Christian Gollwitzer wrote:
> YMMV. Is non-BMP needed for any living non-esoteric language? I agree
> that it is a big flaw, but still is useful for very many projects.
Yes.
The Unicode Supplementary Multilingual Planes (SMPs) are used for rare but
still current E
On Mon, Apr 27, 2015 at 4:55 PM, Christian Gollwitzer wrote:
> Am 27.04.15 um 01:06 schrieb Chris Angelico:
>>
>> On Mon, Apr 27, 2015 at 6:26 AM, Ben Finney
>> wrote:
>>>
>>> It doesn't have to. By using the newer ‘tkinter.ttk’ library
>>> https://docs.python.org/3/library/tkinter.ttk.html>, the
On Monday 27 April 2015 12:37, Makoto Kuwata wrote:
> I want to ask Python experts about function decorator which has arguments.
>
> I feel that function decorator having arguments is complicated,
> because three 'def' are nested:
>
> def multiply(n):
> def deco(func):
> def newfunc(
Hello everyone!
After a few years in development, I am proud to say Clize is landing its
feet again and is now in beta for an upcoming release.
You can try it out usingpip install --user clize=3.0b1and you can
browse the docs athttps://clize.readthedocs.org/
For those who'd like an e
show task execution;
data visualization;
easy to set up;
thanks
--
https://mail.python.org/mailman/listinfo/python-list
I'm using the double fork exec model as exemplified in
http://code.activestate.com/recipes/278731-creating-a-daemon-the-python-way/
to run a django management command detached from any view. A database object is
used to store/update information about the process. The command does have a log
fi
I started again with Python. In Clojure you have memoize. I thought it
nice to have this in Python also. So I wrote it. With a Fibonacci
function to show the usefulness.
You can find it here:
https://github.com/CecilWesterhof/PythonLibrary
I love to hear what you think of it.
And ideas for ot
Looking at heapq, I see only nlargest/nsmallest provide a key= arg. What
about other operations, such as heapify? Am I not understanding something?
I suppose for other ops, such as heapify, I can only customize comparison by
customizing the object comparison operators?
--
Those who fail to
Neal Becker wrote:
> Looking at heapq, I see only nlargest/nsmallest provide a key= arg. What
> about other operations, such as heapify? Am I not understanding
> something?
nlargest/nsmallest() use the decorate-sort-undecorate pattern to avoid
calculating the key more than once. For the other
Cecil Westerhof wrote:
> I started again with Python. In Clojure you have memoize. I thought it
> nice to have this in Python also. So I wrote it. With a Fibonacci
> function to show the usefulness.
> You can find it here:
> https://github.com/CecilWesterhof/PythonLibrary
>
> I love to hear w
Le lun. 27 avr. 2015 à 04:39, Makoto Kuwata a écrit :
>
> If function decorator notation could take arguments,
> decorator definition would be more simple:
>
> def multiply(func, n):
> def newfunc(*args, **kwargs):
> return n * func(*args, **kwargs)
> return newfunc
>
> @multiply
Am 27.04.15 um 09:15 schrieb Steven D'Aprano:
On Monday 27 April 2015 16:55, Christian Gollwitzer wrote:
YMMV. Is non-BMP needed for any living non-esoteric language? I agree
that it is a big flaw, but still is useful for very many projects.
Yes.
The Unicode Supplementary Multilingual Planes
On 04/27, Maxime S wrote:
> Le lun. 27 avr. 2015 à 04:39, Makoto Kuwata a écrit :
> >
> > If function decorator notation could take arguments,
> > decorator definition would be more simple:
> >
> > def multiply(func, n):
> > def newfunc(*args, **kwargs):
> > return n * func(*args, **kw
On Mon, 27 Apr 2015 01:11 am, Φώντας Λαδοπρακόπουλος wrote:
> Τη Κυριακή, 26 Απριλίου 2015 - 6:05:50 μ.μ. UTC+3, ο χρήστης Steven
> D'Aprano έγραψε:
>> On Mon, 27 Apr 2015 01:00 am, Φώντας Λαδοπρακόπουλος wrote:
>>
>> > Hello,
>> >
>> > Can you please tell me how to install latest Python 3.4.x w
Hi everyone.
I'm trying to test scheduling with asyncio. I have a function that executes
call_later to run a method later in the future. Basically, what I'm trying
to do is what you do in Twisted with the method callLater of a fictional
Clock, to simulate time passage with the advance method.
clas
It would be nice if it could automatically generate the python code
for 'clizing a function', i.e., from the example in
https://clize.readthedocs.org/en/latest/
def hello_world(name=None, no_capitalize=False):
...
being able to do
clize.generate_py_code(hello_world)
which would return somet
On Tue, 28 Apr 2015 12:54 am, Christian Gollwitzer wrote:
> Am 27.04.15 um 09:15 schrieb Steven D'Aprano:
>> On Monday 27 April 2015 16:55, Christian Gollwitzer wrote:
>>
>>> YMMV. Is non-BMP needed for any living non-esoteric language? I agree
>>> that it is a big flaw, but still is useful for ve
On 2015-04-26, Ben Finney wrote:
> Steven D'Aprano writes:
>
>> Tkinter is easier to use, as it is standard with Python. So long as
>> you have Tk/Tcl installed on your computer, Tkinter should work fine.
>>
>> However, Tkinter probably looks a bit more old fashioned.
>
> It doesn't have to. By u
I want to parse a C++ code to get class names, method names, the blocks inside
method, methods inside method, identify recursive call, methods of
class(outside the class), and relationships of classes. How to do it in python?
Is there any library to do it?
--
https://mail.python.org/mailman/lis
- Original Message -
> From: Peter Otten <__pete...@web.de>
> To: python-list@python.org
> Cc:
> Sent: Monday, April 27, 2015 4:28 PM
> Subject: Re: Wrote a memoize function: I do not mind feedback
>
> Cecil Westerhof wrote:
>
>> I started again with Python. In Clojure you have memoize.
Am 27.04.15 um 19:02 schrieb Grant Edwards:
On 2015-04-26, Ben Finney wrote:
Steven D'Aprano writes:
Tkinter is easier to use, as it is standard with Python. So long as
you have Tk/Tcl installed on your computer, Tkinter should work fine.
However, Tkinter probably looks a bit more old fashi
I've been playing around with a experimental script language that executes
object code lists directly and am looking for others who might like to help.
The first version was written in python. The original idea came from
wondering if it is possible to replace python's byte code with nested
On Mon, Apr 27, 2015 at 7:02 PM, Yann Kaiser wrote:
> Hello everyone!
>
> After a few years in development, I am proud to say Clize is landing its
> feet again and is now in beta for an upcoming release.
>
> You can try it out usingpip install --user clize=3.0b1and you can
> browse the doc
On Tue, 28 Apr 2015 04:33 am, buddingros...@gmail.com wrote:
> I want to parse a C++ code to get class names, method names, the blocks
> inside method, methods inside method, identify recursive call, methods of
> class(outside the class), and relationships of classes. How to do it in
> python? Is
On 26-04-2015 05:09, Paulo da Silva wrote:
> Is there anybody using pypy3 in *ubuntu 14.04?
>
> I installed ppa:pypy/ppa but I still cannot see any pypy3!
> All refs to pypy (using aptitude) show in the comments python 2.7!
>
> Thanks for any help.
>
For those who may be interested ...:
OK, I f
On Sun, 26 Apr 2015 22:50:03 -0700 (PDT), John Ladasky
wrote:
>On Sunday, April 26, 2015 at 6:41:08 PM UTC-7, Seymore4Head wrote:
>
>> Richard Dawkins explains with passion the idea of game theory and tit
>> for tat, or why cooperation with strangers is often a strong strategy.
>>
>> He talks o
On Tue, Apr 28, 2015 at 12:45 PM, Yann Kaiser wrote:
> On Mon, 27 Apr 2015 at 17:04 Chris Angelico wrote:
>> Interesting. I've also been working on a simpler arg handling module;
>> maybe we can work together. The goals for mine are:
>>
>> * Each function should be as independent as possible.
>
>
On Monday 27 April 2015 17:22, Chris Angelico wrote:
> This is a problem that won't just "go away". As more SMP blocks get
> assigned, more people will start using them, and get frustrated at
> your program for not letting them. (And why should an end user need to
> know the difference between 😃 a
On 04/28, Chris Angelico wrote:
> That's a lot of separate pieces. Here's the docstringargs equivalent:
>
> https://github.com/Rosuav/snippets/blob/dsa/snippets.py
Just for grins, here's that using Scription:
-- 8<
"""Store an
On Tue, Apr 28, 2015 at 3:10 PM, Steven D'Aprano
wrote:
> On Monday 27 April 2015 17:22, Chris Angelico wrote:
>
>> This is a problem that won't just "go away". As more SMP blocks get
>> assigned, more people will start using them, and get frustrated at
>> your program for not letting them. (And w
On 23/04/2015 2:18 AM, subhabrata.bane...@gmail.com wrote:
I have a list of file names of a directory, I want to read each one of them.
After reading each one of them, I want to put the results of each file in a
list.
These lists would again be inserted to create a list of lists.
While there's
On Tuesday 28 April 2015 15:32, Chris Angelico wrote:
> On Tue, Apr 28, 2015 at 3:10 PM, Steven D'Aprano
> wrote:
>> On Monday 27 April 2015 17:22, Chris Angelico wrote:
>>
>>> This is a problem that won't just "go away". As more SMP blocks get
>>> assigned, more people will start using them, and
32 matches
Mail list logo