ANNOUNCING
eGenix PyRun - One file Python Runtime
Version 1.1.0
An easy-to-use single file relocatable Python run-time -
available for Windows, Mac OS X a
MrsEntity wrote:
> Based on heapy, a db based solution would be serious overkill.
I've embraced overkill and my life is better for it. Don't confuse overkill
with cost. Overkill is your friend.
The facts of the case: You need to save some derived strings for each of 2M
input lines. Even half th
Today I had a strange experience. I have copied some updated py files
(modules) to a directory on a remote server, overwritting the old ones.
The pyc files on the server were older. Many programs are importing
these modules, and most of them are started as background jobs (from
cron). They star
On 27.09.12 09:08, Chris Angelico wrote:
LAMP usually means PHP these days. There's a lot of that around.
And Cyrillic Р means Ruby. :-P
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, 26 Sep 2012 08:45:30 -0700, wxjmfauth wrote:
> Sorry guys, I'm "only" able to see this (with the Python versions an end
> user can download):
[snip timeit results]
While you have been all doom and gloom and negativity that Python has
"destroyed" Unicode, I've actually done some testing.
CherryPy is in the list now.
http://mindref.blogspot.com/2012/09/python-fastest-web-framework.html
Thanks.
Andriy
> From: andriy.kornats...@live.com
> To: python-list@python.org
> Subject: RE: Fastest web framework
> Date: Tue, 25 Sep 2012 13:52:25 +030
Hi
Sorry guys, I'm "only" able to see this (with the Python versions an end
user can download):
[snip timeit results]
While you have been all doom and gloom and negativity that Python has
"destroyed" Unicode,
I thought that jmf's concerns were solely concerned with the selection
of latin1
On Thu, 27 Sep 2012 11:00:36 +0200, Laszlo Nagy wrote:
> Today I had a strange experience. I have copied some updated py files
> (modules) to a directory on a remote server, overwritting the old ones.
> The pyc files on the server were older. Many programs are importing
> these modules, and most o
Wayne Werner於 2012年9月27日星期四UTC+8上午12時05分31秒寫道:
> On Fri, 21 Sep 2012, Dennis Lee Bieber wrote:
>
>
>
> > On Fri, 21 Sep 2012 14:26:04 +0530, Mayuresh Kathe
>
> > declaimed the following in gmane.comp.python.general:
>
> >
>
> >> Is there a good book on foundational as well as advanced algori
On Thu, Sep 27, 2012 at 2:13 AM, Steven D'Aprano
wrote:
> On Tue, 25 Sep 2012 09:15:00 +0100, Mark Lawrence wrote:
> And a response:
>
> http://data.geek.nz/python-is-doing-just-fine
Summary of that article:
"Sure, you have all these legitimate concerns, but look, cake!"
-- Devin
--
http://mai
On 27.09.12 12:33, Steven D'Aprano wrote:
Nevertheless, I think there is something here. The consequences are nowhere
near as dramatic as jmf claims, but it does seem that replace() has taken a
serious performance hit. Perhaps it is unavoidable, but perhaps not.
If anyone else can confirm simila
On 2012-09-27, Chris Angelico wrote:
> On Thu, Sep 27, 2012 at 4:01 PM, Steven D'Aprano
> wrote:
>
>> Given how Perl has slipped in the last decade or so, that would be a step
>> backwards for Python :-P
>
> LAMP usually means PHP these days. There's a lot of that around.
Yea, unfortunately. W
On Thu, 27 Sep 2012 08:11:13 -0400, Devin Jeanpierre wrote:
> On Thu, Sep 27, 2012 at 2:13 AM, Steven D'Aprano
> wrote:
>> On Tue, 25 Sep 2012 09:15:00 +0100, Mark Lawrence wrote: And a
>> response:
>>
>> http://data.geek.nz/python-is-doing-just-fine
>
> Summary of that article:
>
> "Sure, you
On Thu, Sep 27, 2012 at 11:59 PM, Grant Edwards wrote:
> On 2012-09-27, Chris Angelico wrote:
>> On Thu, Sep 27, 2012 at 4:01 PM, Steven D'Aprano
>> wrote:
>>
>>> Given how Perl has slipped in the last decade or so, that would be a step
>>> backwards for Python :-P
>>
>> LAMP usually means PHP
I had that problem after moving my Python installation into another directory.
Reinstalling Python helped.
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, Sep 27, 2012 at 4:43 AM, Alex Strickland wrote:
> I thought that jmf's concerns were solely concerned with the selection of
> latin1 as the 1 byte set. My impression was that if some set of characters
> was chosen that included all characters commonly used in French then all
> would be wel
Good Day,
We have an urgent Contract Opening in Sr.Java Developer
Looking forward to submit your resume for below mentioned Requirement…
If you are interested, Please forward your latest resume along with location
and pay rate details to r...@tech-netinc.com asked at the bottom of mail
Job
On Thu, Sep 27, 2012 at 2:13 AM, Steven D'Aprano
wrote:
> My google-foo is failing me. Is the #python chatroom on freenode archived
> anywhere on the web?
#python doesn't have a policy against quiet bots that log channel
interaction, but AFAIK there are no up-to-date public logs. As
evidence to t
Reading through the docs[1] and the source, I'm trying to discern if
there's any guarantee that the contents of a mbox file remain in a
consistent ordering across add/delete calls.
As best I can tell from the source, it _looks_ like the code keeps
an existing file in the same order, deletions remo
On 27/09/2012 13:46, Serhiy Storchaka wrote:
On 27.09.12 12:33, Steven D'Aprano wrote:
Nevertheless, I think there is something here. The consequences are
nowhere
near as dramatic as jmf claims, but it does seem that replace() has
taken a
serious performance hit. Perhaps it is unavoidable, but p
On Thu, Sep 27, 2012 at 10:25 AM, Steven D'Aprano
wrote:
> On Thu, 27 Sep 2012 08:11:13 -0400, Devin Jeanpierre wrote:
>
>> On Thu, Sep 27, 2012 at 2:13 AM, Steven D'Aprano
>> wrote:
>>> On Tue, 25 Sep 2012 09:15:00 +0100, Mark Lawrence wrote: And a
>>> response:
>>>
>>> http://data.geek.nz/pytho
On 27/09/2012 17:16, Devin Jeanpierre wrote:
On Thu, Sep 27, 2012 at 10:25 AM, Steven D'Aprano
wrote:
On Thu, 27 Sep 2012 08:11:13 -0400, Devin Jeanpierre wrote:
On Thu, Sep 27, 2012 at 2:13 AM, Steven D'Aprano
wrote:
On Tue, 25 Sep 2012 09:15:00 +0100, Mark Lawrence wrote: And a
response:
On 27/09/2012 07:13, Steven D'Aprano wrote:
On Tue, 25 Sep 2012 09:15:00 +0100, Mark Lawrence wrote:
Hi all,
I though this might be of interest.
http://www.ironfroggy.com/software/i-am-worried-about-the-future-of-
python
And a response:
http://data.geek.nz/python-is-doing-just-fine
W
On Fri, Sep 28, 2012 at 2:45 AM, Mark Lawrence wrote:
> The article Steven D'Aprano referred to is not a direct response to the
> article I referred to, yet your words are written as if it were. May I ask
> why? Or have I missed something?
Steven cited it with the words "And a response".
Chris
On Thu, Sep 27, 2012 at 12:45 PM, Mark Lawrence wrote:
> The article Steven D'Aprano referred to is not a direct response to the
> article I referred to, yet your words are written as if it were. May I ask
> why? Or have I missed something?
Post hoc ergo propter hoc :(
-- Devin
--
http://mail
On 27/09/2012 17:49, Chris Angelico wrote:
On Fri, Sep 28, 2012 at 2:45 AM, Mark Lawrence wrote:
The article Steven D'Aprano referred to is not a direct response to the
article I referred to, yet your words are written as if it were. May I ask
why? Or have I missed something?
Steven cited i
Paul Rubin wrote:
> Rolando Cañer Roblejo writes:
> > Is it possible for me to put a limit in the amount of processor usage
> > (% CPU) that my current python script is using? Is there any module
> > useful for this task?
>
> One way is check your cpu usage once in a while, compare with elapsed
>
On Thu, Sep 27, 2012 at 12:58 PM, Prasad, Ramit
wrote:
> On *nix you should just set the appropriate nice-ness and then
> let the OS handle CPU scheduling. Not sure what you would do
> for Windows--I assume OS X is the same as *nix for this context.
On windows, you can also set the priority of a
Mark Lawrence wrote:
On 27/09/2012 17:16, Devin Jeanpierre wrote:
On Thu, Sep 27, 2012 at 10:25 AM, Steven D'Aprano wrote:
On Thu, 27 Sep 2012 08:11:13 -0400, Devin Jeanpierre wrote:
Summary of that article:
"Sure, you have all these legitimate concerns, but look, cake!"
Did you read the ar
Hans Mulder wrote:
> On 22/09/12 23:57:52, ross.mars...@gmail.com wrote:
> > To capture the traceback, so to put it in a log, I use this
> >
> > import traceback
> >
> > def get_traceback(): # obtain and return the traceback
> > exc_type, exc_value, exc_traceback = sys.exc_info()
> > return
? G??ee? wrote:
> I shouldn't have asked about Joomla here, or even about Python embedding
> within Joomla cms. I was under the impression that the latter was relevant to
> ask here but it seems it isnt.
>
> My bad, let's just close this thread so i don't waste anyone's time.
Now when/if you
On 27.09.12 18:06, Ian Kelly wrote:
I understand ISO 8859-15 (Latin-9) to be the preferred Latin character
set for French, as it includes the Euro sign as well as a few
characters that are not in Latin-1 but are nonetheless infrequently
found in French.
Even for Latin-9 Python 3.3 can be a litt
Tim Chase wrote:
> [snip] though I'm minorly miffed that
> enumerate()'s starting-offset wasn't back-ported into earlier 2.x
> versions and have had to code around it for 1-based indexing; either
> extra "+1"s or whip up my own simple enumerate() generator).
Starting offset is in Python 2.6, unle
I want to make some configuration data available via a web service (bottle)
that returns JSON data to a client which may be a python app or a jqgrid-based
web page ui.
The data structure is a list of dicts with strings, other dicts, and lists. It
doesn't fit the relational database scheme; it l
Dennis Lee Bieber wrote:
> Sent: Sunday, September 23, 2012 11:53 AM
> To: python-list@python.org
> Subject: Re: Capitalization for variable that holds a class
>
> On Sun, 23 Sep 2012 16:48:38 +0100, Joshua Landau
> declaimed the following in
> gmane.comp.python.general:
>
> > Simple question:
>
Dwight Hutto wrote:
> > Ergo: 'enumerate()' is the correct suggestion over manually
> > maintaining your own index, despite it ostensibly being "more" code
> > due to its implementation.
>
> But, therefore, that doesn't mean that the coder can just USE a
> function, and not be able to design it th
Andriy Kornatskyy wrote:
> Try to see 'Hello World' benchmark as an answer to the question how effective
> is the framework inside...
>
> If computer X boots faster than Y, it means it is more effective in this
> particular area.
>
> If a sportsman runs a distance 1 second faster than other, he g
Did you know that about Islam?
http://www.youtube.com/v/e5-gmD-jUsc?rel=0
thank you
--
http://mail.python.org/mailman/listinfo/python-list
Hello all:
This was my first PyPi project to create. I'd like some feedback as to
whether or not something like this is even moderately useful, and what I
could do better with it.
The blog article that details some of this is:
http://tds-solutions.net/blog/?p=137
And the PyPi page:
http://pypi.
On 9/27/2012 5:33 AM, Steven D'Aprano wrote:
Nevertheless, I think there is something here. The consequences are nowhere
near as dramatic as jmf claims, but it does seem that replace() has taken a
serious performance hit. Perhaps it is unavoidable, but perhaps not.
If anyone else can confirm si
This flexible string representation is wrong by design.
Expecting to divide "Unicode" in chunks and to gain something
is an illusion.
It has been created by a computer scientist who thinks "bytes"
when on that field one has to think "bytes" and usage of the
characters at the same time.
The latin-1
On 9/27/2012 12:16 PM, Devin Jeanpierre wrote:
Charitably, maybe we'd call this a way of encouraging people who are
discouraged by the bleaker tone of Calvin's post. And that's valid, if
we're worried about morale. Definitely Calvin's post could be -- and
has been -- taken the wrong way. It coul
On 27/09/2012 20:09, wxjmfa...@gmail.com wrote:
This flexible string representation is wrong by design.
Please state who agrees with this and why.
Expecting to divide "Unicode" in chunks and to gain something
is an illusion.
Please provide the benchmarks to support your claim.
It has been
Tim Chase於 2012年9月27日星期四UTC+8上午6時44分42秒寫道:
> On 09/26/12 17:28, 8 Dihedral wrote:
>
> > 8 Dihedral於 2012年9月27日星期四UTC+8上午6時07分35秒寫道:
>
> In these conditions, how to make this list [[0,0,0],[0,0,0]] with "*"
>
> without this behavior?
>
> >>> >>> a = [[0]*3 for i in xrange(
Please ignore this post.
I am testing to see if I can post successfully.
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, Sep 27, 2012 at 5:28 PM, ForeverYoung wrote:
> Please ignore this post.
> I am testing to see if I can post successfully.
Is there a reason you can't wait until you have something to say / ask
to see if it works? You're spamming a large number of inboxes with
nothing.
-- Devin
--
http:/
On 09/27/2012 02:17 AM, alex23 wrote:
On Sep 27, 7:50 am, Gelonida N wrote:
http://mindref.blogspot.fr/2012/07/python-fastest-template.html
This is already being discussed on the list. See the thread "Fastest
template engine".
Apologies everybody,
I wanted to 'bookkmark' (forward this arti
On 27 September 2012 18:20, Prasad, Ramit wrote:
> Dennis Lee Bieber wrote:
> > Sent: Sunday, September 23, 2012 11:53 AM
> > To: python-list@python.org
> > Subject: Re: Capitalization for variable that holds a class
> >
> > On Sun, 23 Sep 2012 16:48:38 +0100, Joshua Landau
> > declaimed the fol
You're posting to both comp.lang.python and python-list, are you aware
that that's redundant?
On Fri, Sep 28, 2012 at 5:09 AM, wrote:
> This flexible string representation is wrong by design.
> Expecting to divide "Unicode" in chunks and to gain something
> is an illusion.
> It has been created
I have these 2 scripts that are very heavy on the file i/o, consume a very
reasonable amount of cpu and output their counters at a - very - relaxed
pace to the console. The output is very simply done using something like:
print "files:", nFiles, "\r",
Yet alltough there is no real reason for
On 2012-09-27, Devin Jeanpierre wrote:
> On Thu, Sep 27, 2012 at 5:28 PM, ForeverYoung wrote:
>> Please ignore this post.
>> I am testing to see if I can post successfully.
>
> Is there a reason you can't wait until you have something to say / ask
> to see if it works? You're spamming a large num
On 9/27/2012 3:36 PM, Devin Jeanpierre wrote:
On Thu, Sep 27, 2012 at 5:28 PM, ForeverYoung wrote:
Please ignore this post.
I am testing to see if I can post successfully.
Is there a reason you can't wait until you have something to say / ask
to see if it works? You're spamming a large number
On Fri, Sep 28, 2012 at 7:57 AM, Rikishi42 wrote:
> I have these 2 scripts that are very heavy on the file i/o, consume a very
> reasonable amount of cpu and output their counters at a - very - relaxed
> pace to the console. The output is very simply done using something like:
>
>print "files:
In Chris Angelico
writes:
> On Fri, Sep 28, 2012 at 7:57 AM, Rikishi42 wrote:
> > I have these 2 scripts that are very heavy on the file i/o, consume a very
> > reasonable amount of cpu and output their counters at a - very - relaxed
> > pace to the console. The output is very simply done usin
On Fri, Sep 28, 2012 at 8:25 AM, John Gordon wrote:
> Isn't terminal output line-buffered? I don't understand why there would
> be an output delay. (Unless the "\r" is messing things up...)
This is a classic progress-indication case, which does indeed mess up
line-buffering. The carriage return
On 9/27/2012 2:58 PM Rikishi42 said...
Inboxes?
What is this, usenet or email ?
Yes. Both.
Emile
--
http://mail.python.org/mailman/listinfo/python-list
I've released v0.2 of PipeController, my experimental tool to simulate pipes in
Python.
It can be downloaded here:
http://dancingbison.com/pipe_controller-v0.2.zip
Changes in v0.2:
- module name changed to avoid clashes with pipes module in the standard Python
library; the module is now call
On Thu, 27 Sep 2012 17:36:57 -0400, Devin Jeanpierre wrote:
> On Thu, Sep 27, 2012 at 5:28 PM, ForeverYoung wrote:
>> Please ignore this post.
>> I am testing to see if I can post successfully.
>
> Is there a reason you can't wait until you have something to say / ask
> to see if it works? You'r
On Sep 28, 2:47 am, Mark Lawrence wrote:
> "... why does the runtime environment have to be so limiting? Operations
> involving primitives could be easily compiled (on the fly - JIT) to
> machine code and more advanced objects exist as plug-ins. Oh, and it
> would be nice to be able to write such
On Sep 28, 2:17 am, Devin Jeanpierre wrote:
> Uncharitably, it's just a way of hiding one's head in the sand,
> ignoring any problems Python has by focusing on what problems it
> doesn't have.
But isn't that what counterpoint is all about? Calvin's article
highlighted what he felt were areas that
On 2012-09-27, Chris Angelico wrote:
> On Fri, Sep 28, 2012 at 7:57 AM, Rikishi42 wrote:
>> I have these 2 scripts that are very heavy on the file i/o, consume a very
>> reasonable amount of cpu and output their counters at a - very - relaxed
>> pace to the console. The output is very simply done
On 2012-09-27, Chris Angelico wrote:
> On Fri, Sep 28, 2012 at 8:25 AM, John Gordon wrote:
>> Isn't terminal output line-buffered? I don't understand why there would
>> be an output delay. (Unless the "\r" is messing things up...)
>
> This is a classic progress-indication case, which does indee
On Fri, 28 Sep 2012 00:32:58 +1000, Chris Angelico wrote:
> On Thu, Sep 27, 2012 at 11:59 PM, Grant Edwards
> wrote:
>> On 2012-09-27, Chris Angelico wrote:
>>> On Thu, Sep 27, 2012 at 4:01 PM, Steven D'Aprano
>>> wrote:
>>>
Given how Perl has slipped in the last decade or so, that would b
> Fair enough, but it's the M in the LAMP stack I object to. I'd much
> rather have P.
+1
--
http://mail.python.org/mailman/listinfo/python-list
On 9/27/2012 9:05 PM, Jason Friedman wrote:
Fair enough, but it's the M in the LAMP stack I object to. I'd much
rather have P.
+1
I know this isn't the list for database discussions, but I've never
gotten a decent answer. I don't know much about either, so I'm kind of
curious why postgresql
On 9/27/2012 9:05 PM, Jason Friedman wrote:
Fair enough, but it's the M in the LAMP stack I object to. I'd much
rather have P.
+1
I know this isn't the list for database discussions, but I've never gotten a
decent answer. I don't know much about either, so I'm kind of curious why
postgresql
It's past
> time to stop feeding this troll, please.
You mean like the post above you sentbitch please, I'm eatin good right now.
--
Best Regards,
David Hutto
CEO: http://www.hitwebdevelopment.com
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, Sep 26, 2012 at 8:40 PM, alex23 wrote:
> On Sep 26, 5:06 pm, Dwight Hutto wrote:
>> You can "Plonk" my dick bitches.
>
> You do understand that when you have so many people react badly to how
> you phrase things, that the problem most likely lies with you and not
> them?
Depends on the d
On Thu, Sep 27, 2012 at 10:14 PM, Littlefield, Tyler
wrote:
> I know this isn't the list for database discussions, but I've never gotten a
> decent answer. I don't know much about either, so I'm kind of curious why
> postgresql over mysql?
MySQL is an open-source PRODUCT owned by a for-profit com
On Thu, Sep 27, 2012 at 10:37 PM, Wayne Werner wrote:
> the only advice I can give on that is
> just learn to use both.
I find there's little to lose in having experience with both.
Most every good web framework out there supports lots of different
databases through generic ORM layers.. so flipp
On Fri, Sep 28, 2012 at 2:12 PM, Greg Donald wrote:
> On Thu, Sep 27, 2012 at 10:37 PM, Wayne Werner wrote:
>> the only advice I can give on that is
>> just learn to use both.
>
> I find there's little to lose in having experience with both.
>
> Most every good web framework out there supports lo
On Fri, Sep 28, 2012 at 1:47 PM, Dwight Hutto wrote:
> [ lots of screed that demonstrates that Dwight hasn't grokked the hacker
> culture ]
Dwight, have a read of these documents. They may help you to
understand how the python-list community operates, and perhaps more
so, why most of the regular
http://goo.gl/CRhLz - "Spanish Flashcards with Pictures" is an iPhone app that
will help you learn Spanish faster by using flashcards with pictures (learn
over 300 most commonly used words in the English / Spanish language from A to
Z), thanks.
--
http://mail.python.org/mailman/listinfo/python-
On Fri, Sep 28, 2012 at 12:40 AM, Chris Angelico wrote:
> On Fri, Sep 28, 2012 at 1:47 PM, Dwight Hutto wrote:
>> [ lots of screed that demonstrates that Dwight hasn't grokked the hacker
>> culture ]
Don't hack, but could very well if necessary.
>
> Dwight, have a read of these documents. They
On 9/27/2012 10:50 PM, Dwight Hutto wrote:
On Fri, Sep 28, 2012 at 12:40 AM, Chris Angelico wrote:
On Fri, Sep 28, 2012 at 1:47 PM, Dwight Hutto wrote:
[ lots of screed that demonstrates that Dwight hasn't grokked the hacker
culture ]
Don't hack, but could very well if necessary.
You coul
On 9/27/2012 10:37 PM, Chris Angelico wrote:
On Fri, Sep 28, 2012 at 2:12 PM, Greg Donald wrote:
On Thu, Sep 27, 2012 at 10:37 PM, Wayne Werner wrote:
the only advice I can give on that is
just learn to use both.
I find there's little to lose in having experience with both.
Most every good
On Fri, Sep 28, 2012 at 1:12 AM, Littlefield, Tyler wrote:
> On 9/27/2012 10:50 PM, Dwight Hutto wrote:
>>
>> On Fri, Sep 28, 2012 at 12:40 AM, Chris Angelico wrote:
>>>
>>> On Fri, Sep 28, 2012 at 1:47 PM, Dwight Hutto
>>> wrote:
[ lots of screed that demonstrates that Dwight hasn't g
web2py (7 lines): https://gist.github.com/3798093
Includes creation of models, validator, controllers and urls.
Rules:
- Must have [at least] the same functionality as my 7-line example
- Imports are allowed and not taken into line count, on the condition
that everything remains generic. I.e.: on
Hi, have you been able to solve this problem ??
--
http://mail.python.org/mailman/listinfo/python-list
On Sep 28, 10:21 am, Dwight Hutto wrote:
> On Fri, Sep 28, 2012 at 1:12 AM, Littlefield, Tyler
> wrote:
> > On 9/27/2012 10:50 PM, Dwight Hutto wrote:
>
> >> On Fri, Sep 28, 2012 at 12:40 AM, Chris Angelico wrote:
>
> >>> On Fri, Sep 28, 2012 at 1:47 PM, Dwight Hutto
> >>> wrote:
>
> [ lo
On Fri, Sep 28, 2012 at 1:51 AM, rusi wrote:
> On Sep 28, 10:21 am, Dwight Hutto wrote:
>> On Fri, Sep 28, 2012 at 1:12 AM, Littlefield, Tyler
>> wrote:
>> > On 9/27/2012 10:50 PM, Dwight Hutto wrote:
>>
>> >> On Fri, Sep 28, 2012 at 12:40 AM, Chris Angelico wrote:
>>
>> >>> On Fri, Sep 28, 20
81 matches
Mail list logo