Dennis Lee Bieber writes:
> On Thu, 22 Jun 2017 22:46:28 +0300, Jussi Piitulainen declaimed the
> following:
>
>>
>> A pair of methods, str.maketrans to make a translation table and then
>> .translate on every string, allows to do all that in one step:
>>
>> spacy = r'\/-.[]{}()'
>> tr = str.maket
Marko Rauhamaa wrote:
I'm still wondering if those flurries of Italian calumnies are actually
steganographic instructions to intelligence agents of some country.
Or a C&C system for someone's botnet?
--
Greg
--
https://mail.python.org/mailman/listinfo/python-list
Marko Rauhamaa wrote:
And, BTW, my rule of thumb came from experiences with the Hotspot JRE.
I wouldn't take a Java implementation to be representative of
the behaviour of GC systems in general.
--
Greg
--
https://mail.python.org/mailman/listinfo/python-list
Steve D'Aprano wrote:
There are a very few exceptions to this rule of thumb, such as opening
connections to databases or files or similar.
Another way to handle that is to have the connection method
return another object that has the methods that should only
be called for active connections. Th
On Thursday, June 22, 2017 at 4:28:03 AM UTC+5:30, Steve D'Aprano wrote:
> On Thu, 22 Jun 2017 08:23 am, breamoreboy wrote:
>
> > Don't you know that Lawrence D’Oliveiro has been banned from the mailing
> > list
> > as he hasn't got a clue what he's talking about,
>
> That's not why he was give
Things are moving on in the pypi world
https://mail.python.org/pipermail/distutils-sig/2017-June/030766.html
--
Kindest regards.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
On Thursday, June 22, 2017 at 3:33:36 PM UTC+1, Michael F. Stemper wrote:
> I have some scripts running as cronjobs that capture the status
> of some long-term processes and then periodically plot the data.
> The box where they normally run went down yesterday for some
> unknown reason, so I ran th
On Thursday, June 22, 2017 at 12:16:28 PM UTC+1, kishan.samp...@gmail.com wrote:
> I want to write a common file in which It can add the frequency by adding
> multiple csv file and if the same words are repeated in python then it should
> add the frequency in the common file can any one help me p
On Thursday, June 22, 2017 at 2:57:02 PM UTC-7, Chris Angelico wrote:
> On Fri, Jun 23, 2017 at 7:21 AM, Marko Rauhamaa wrote:
> > I'm still wondering if those flurries of Italian calumnies are actually
> > steganographic instructions to intelligence agents of some country.
>
> It's a super-sneak
Hi,
I just wonder a point about connecting to an AS400 DB2 over Python and if you
can shed some light, I will be happy... To connect to a DB2 of a remote AS400
over any one of the Python DB API interfaces (ibm_db, pyodbc, pyDB2 or any
other one) from Python on Windows, in any case do we have t
On Fri, Jun 23, 2017 at 7:21 AM, Marko Rauhamaa wrote:
> John Black :
>
>> All, in case this is useful to anyone, this rule that tells my newsreader
>> which posts to kill really cleans up the group. I could not find a way
>> to key off of anything in the header except keywords because the From
>
John Black :
> All, in case this is useful to anyone, this rule that tells my newsreader
> which posts to kill really cleans up the group. I could not find a way
> to key off of anything in the header except keywords because the From
> keeps changing and I didn't want to overkill real posts.
All, in case this is useful to anyone, this rule that tells my newsreader
which posts to kill really cleans up the group. I could not find a way
to key off of anything in the header except keywords because the From
keeps changing and I didn't want to overkill real posts. I may have to
add a t
On Fri, 23 Jun 2017 01:07 am, breamore...@gmail.com wrote:
> 11 comments on the thread "Instagram: 40% Py3 to 99% Py3 in 10 months" showing
> that he knows as much about Unicode as LDO knows about garabge collection.
Who cares? Every time he opens his mouth to write absolute rubbish he just make
On Jun 22, 2017 4:03 PM, "Chris Angelico" wrote:
On Fri, Jun 23, 2017 at 5:22 AM, CFK wrote:
> On Jun 22, 2017 9:32 AM, "Chris Angelico" wrote:
>
> On Thu, Jun 22, 2017 at 11:24 PM, CFK wrote:
>> When
>> I draw memory usage graphs, I see sawtooth waves to the memory usage
which
>> suggest that
On Fri, Jun 23, 2017 at 5:22 AM, CFK wrote:
> On Jun 22, 2017 9:32 AM, "Chris Angelico" wrote:
>
> On Thu, Jun 22, 2017 at 11:24 PM, CFK wrote:
>> When
>> I draw memory usage graphs, I see sawtooth waves to the memory usage which
>> suggest that the garbage builds up until the GC kicks in and re
Dennis Lee Bieber writes:
> # lowerecase all, open hyphenated and / separated words, parens,
> # etc.
> ln = ln.lower().replace("/", " ").replace("-", " ").replace(".", " ")
> ln = ln.replace("\\", " ").replace("[", " ").replace("]", " ")
> ln = ln.replace("{", " ").replace("}", " ")
>
On Thursday, June 22, 2017 at 11:07:36 AM UTC-4, bream...@gmail.com wrote:
> On Wednesday, June 21, 2017 at 11:58:03 PM UTC+1, Steve D'Aprano wrote:
> > On Thu, 22 Jun 2017 08:23 am, breamoreboy wrote:
> >
> > > Don't you know that Lawrence D’Oliveiro has been banned from the mailing
> > > list
>
On Jun 22, 2017 9:32 AM, "Chris Angelico" wrote:
On Thu, Jun 22, 2017 at 11:24 PM, CFK wrote:
> When
> I draw memory usage graphs, I see sawtooth waves to the memory usage which
> suggest that the garbage builds up until the GC kicks in and reaps the
> garbage.
Interesting. How do you actually
On 2017-06-22 12:16, Michael F. Stemper wrote:
On 2017-06-22 10:54, Dennis Lee Bieber wrote:
On Thu, 22 Jun 2017 09:33:15 -0500, "Michael F. Stemper"
declaimed the following:
If the difference isn't due to a change in matplotlib, would it be
something OS-dependent? How can I track it down?
On 2017-06-22 12:56, bill.jans...@gmail.com wrote:
On Thursday, June 22, 2017 at 10:14:21 AM UTC-7, Michael F. Stemper wrote:
On 2017-06-22 09:50, breamore...@gmail.com wrote:
On Thursday, June 22, 2017 at 3:33:36 PM UTC+1, Michael F. Stemper wrote:
Is it likely that the difference in plot
On Thursday, June 22, 2017 at 10:14:21 AM UTC-7, Michael F. Stemper wrote:
> On 2017-06-22 09:50, breamore...@gmail.com wrote:
> > On Thursday, June 22, 2017 at 3:33:36 PM UTC+1, Michael F. Stemper wrote:
> >> I have some scripts running as cronjobs that capture the status
> >> of some long-term pr
On 2017-06-22 10:54, Dennis Lee Bieber wrote:
On Thu, 22 Jun 2017 09:33:15 -0500, "Michael F. Stemper"
declaimed the following:
If the difference isn't due to a change in matplotlib, would it be
something OS-dependent? How can I track it down?
What renderer is being used? Tk, wx, et
On 2017-06-22 09:50, breamore...@gmail.com wrote:
On Thursday, June 22, 2017 at 3:33:36 PM UTC+1, Michael F. Stemper wrote:
I have some scripts running as cronjobs that capture the status
of some long-term processes and then periodically plot the data.
The box where they normally run went down y
On Fri, Jun 23, 2017 at 1:48 AM, Marko Rauhamaa wrote:
> Chris Angelico :
>
>> not "aim for 400MB because the garbage collector is only 10%
>> efficient". Get yourself a better garbage collector. Employ Veolia or
>> something.
>
> It's about giving GC room (space- and timewise) to operate. Also, y
Marko Rauhamaa :
> Chris Angelico :
>
>> not "aim for 400MB because the garbage collector is only 10%
>> efficient". Get yourself a better garbage collector. Employ Veolia or
>> something.
>
> It's about giving GC room (space- and timewise) to operate. Also, you
> don't want your memory consumptio
Chris Angelico :
> not "aim for 400MB because the garbage collector is only 10%
> efficient". Get yourself a better garbage collector. Employ Veolia or
> something.
It's about giving GC room (space- and timewise) to operate. Also, you
don't want your memory consumption to hit the RAM ceiling even
On Fri, Jun 23, 2017 at 1:14 AM, Dennis Lee Bieber
wrote:
> On Fri, 23 Jun 2017 00:50:36 +1000, Steve D'Aprano
> declaimed the following:
>
>>
>>Although, the Unicode Consortium thinks of them as more like private use
>>characters, only even more private, and not characters :-)
>>
>>(If you ask m
Would you like to be more than a participant and contribute to make
this 2017 edition of EuroPython a smooth success? Help us!
* EuroPython 2017 Volunteers *
https://ep2017.europython.eu/en/registration/volunteers/
We have a few tasks that are open for attendees who
[I accidentally sent this only to Peter, but wanted instead to send it
to the list for anyone else who happens upon it...now sending to the
list...]
On 06/22/2017 04:31 PM, Peter Otten wrote:
> If the order is linear like it seems to be the following might work:
Thanks a lot! This removes the dup
Thanks for the response! I see the reasoning, but I can't entirely
square it with what I'm thinking. Probably it's either because I was
hiding some of my intention (sorry if I wasted your time due to lack of
details) or that I'm naive and regardless of intention doing something
silly.
On 06/22/201
On Thu, 22 Jun 2017 11:57 pm, Chris Angelico wrote:
> On Thu, Jun 22, 2017 at 11:33 PM, Steve D'Aprano
> wrote:
>> and besides some Unicode code points are not
>> characters at all).
>>
>> http://www.unicode.org/faq/private_use.html#noncharacters
>
> AIUI, "noncharacters" are like the IEEE float
On Thu, 22 Jun 2017 11:53 pm, Thomas Nyberg wrote:
> I have a situation in which I want a user to call methods in a certain
> order and to force the re-calling of methods "down-stream" if upstream
> methods are called again.
Don't do that. It's fragile and an anti-pattern. Your methods have too m
I have some scripts running as cronjobs that capture the status
of some long-term processes and then periodically plot the data.
The box where they normally run went down yesterday for some
unknown reason, so I ran them manually on another box so that
others on the project could continue to watch
Thomas Nyberg wrote:
> I have a situation in which I want a user to call methods in a certain
> order and to force the re-calling of methods "down-stream" if upstream
> methods are called again. An example of this sort of thing would be a
> pipeline where calling methods again invalidates the resu
Hello,
I have a situation in which I want a user to call methods in a certain
order and to force the re-calling of methods "down-stream" if upstream
methods are called again. An example of this sort of thing would be a
pipeline where calling methods again invalidates the results of methods
called
On Thu, Jun 22, 2017 at 11:33 PM, Steve D'Aprano
wrote:
> and besides some Unicode code points are not
> characters at all).
>
> http://www.unicode.org/faq/private_use.html#noncharacters
AIUI, "noncharacters" are like the IEEE floating point value
"not-a-number". If you ask for the type of it in
On Thu, Jun 22, 2017 at 11:27 PM, Marko Rauhamaa wrote:
> CFK :
>
>> Yes, and this is why I suspect CPython would work well too. My usage
>> pattern may be similar to Python usage patterns. The only way to know for
>> sure is to try it and see what happens.
>
> I have a rule of thumb that your ap
On Wed, 21 Jun 2017 09:23 am, Lawrence D’Oliveiro wrote:
> Though the Perl 6 folks claim their approach (encoding “characters” rather
> than “code points”) is superior.
Can you explain what you are referring to precisely?
According to the Perl 6 docs, they do encode code points, not "characters"
CFK :
> Yes, and this is why I suspect CPython would work well too. My usage
> pattern may be similar to Python usage patterns. The only way to know for
> sure is to try it and see what happens.
I have a rule of thumb that your application should not need more than
10% of the available RAM. If y
On Thu, Jun 22, 2017 at 11:24 PM, CFK wrote:
> When
> I draw memory usage graphs, I see sawtooth waves to the memory usage which
> suggest that the garbage builds up until the GC kicks in and reaps the
> garbage.
Interesting. How do you actually measure this memory usage? Often,
when a GC frees u
On Jun 22, 2017 12:38 AM, "Paul Rubin" wrote:
Lawrence D’Oliveiro writes:
> while “memory footprint” depends on how much memory is actually being
> retained in accessible objects.
If the object won't be re-accessed but is still retained by gc, then
refcounting won't free it either.
> Once agai
On Jun 21, 2017 1:38 AM, "Paul Rubin" wrote:
Cem Karan writes:
> I'm not too sure how much of performance impact that will have. My
> code generates a very large number of tiny, short-lived objects at a
> fairly high rate of speed throughout its lifetime. At least in the
> last iteration of th
I want to write a common file in which It can add the frequency by adding
multiple csv file and if the same words are repeated in python then it should
add the frequency in the common file can any one help me please
import re
import operator
import string
class words:
def __init__(self,fh)
[This announcement is in German since it targets a local user group
meeting in Düsseldorf, Germany]
ANKÜNDIGUNG
Python Meeting Düsseldorf
http://pyddf.de/
Ein Tref
45 matches
Mail list logo