On 27 fév, 23:24, Terry Reedy wrote:
> On 2/27/2013 3:21 AM, jmfauth hijacked yet another thread:
> > Some are building, some are destroying.
>
> We are still waiting for you to help build a better 3.3+, instead of
> trying to 'destroy' it with mostly irrelevant cherry-picked benchmarks.
>
> > P
On Wed, 27 Feb 2013 21:49:04 +1100, Chris Angelico wrote:
> On Wed, Feb 27, 2013 at 9:36 PM, Robin Becker
> wrote:
>> However, in my case the method takes
>>
>>
>>
>> py C
>> utf8 bytes50 20 usec
>> unicode 39 15
>>
>> here py refers to a native
On Wed, 27 Feb 2013 21:11:25 -0500, Terry Reedy wrote:
> There is a problem with timer overhead for sub-microsecond operations.
> In interactive use, the code is compiled within a function that gets
> called. The string 'abc需' should be stored as a constant in the code
> object. To force repeate
Steven D'Aprano, 26.02.2013 13:18:
> Nuitka is an implementation of Python written in C++. At the moment it is
> claimed to be about 2.5 times as fast as CPython running the pystone
> benchmark.
Could we please get to the habit of not citing results of "benchmarks" that
*any* static analysis pha
On 02/27/2013 08:32 PM, eli m wrote:
> How would you find the slope, y intercept, and slope-intercept form
> equation for a line in python?
Well, how do you do it by hand? Once you have the basic formula or
algorithm down, just translate it into python. Math is math. We can
answer specific ques
On 02/28/2013 12:29 AM, sasikiran...@gmail.com wrote:
Hi,
I am new to python, how can we edit a .vmx file offline or just simply a file
containing the data in the below format.
My file sample.vmx contains data
pciBridge7.virtualDev = "pcieRootPort"
pciBridge7.functions = "8"
vmci0.present = "
On Thu, Feb 28, 2013 at 4:57 PM, alex23 wrote:
> My biggest regret re Python is that [Ranting Rick] found it more
> appealing than Ruby and we got saddled with [him] instead.
Having used Ruby a little this past couple of weeks (trying to install
a Rails application), I fully understand Rick's pre
On 02/27/2013 10:32 PM, eli m wrote:
How would you find the slope, y intercept, and slope-intercept form equation
for a line in python?
First, I'd form a more complete description of the problem. Specify
what the overall constraints are (eg. Python version, OS portability,
where input is t
On Feb 28, 2:53 pm, Rick Johnson wrote:
> On Wednesday, February 27, 2013 10:18:46 PM UTC-6, alex23 wrote:
> > You claim that no one has time to write a bug report. I point out that
> > if they can spend the time ranting about the bug, then they have the
> > time.
>
> And i would like to point out
On 02/27/2013 06:05 PM, Steven D'Aprano wrote:
> On Wed, 27 Feb 2013 15:20:04 -0800, rurpy wrote:
>
>> As JoePie91 pointed out, reference material should describe its subject
>> matter completely and accurately. Once documentation has archived that
>> minimum bar of viability, its quality is dete
Hi,
I am new to python, how can we edit a .vmx file offline or just simply a file
containing the data in the below format.
My file sample.vmx contains data
pciBridge7.virtualDev = "pcieRootPort"
pciBridge7.functions = "8"
vmci0.present = "TRUE"
hpet0.present = "TRUE"
nvram = "testvmdk.nvram"
vi
On Thu, Feb 28, 2013 at 3:59 PM, Jason Friedman wrote:
> The lazy and workable approach is to read the module documentation,
> make a reasonable effort, follow
> http://www.catb.org/esr/faqs/smart-questions.html, and voilà.
The Force is strong with this one.
If only others would follow this lazy
> Python has a nice Tutorial for beginners. It is an integral part of the doc
> set. To ignore that (and the indexes) in discussing the usability of Python
> docs by beginners is to lie. (If beginners who actually read the tutorial
> have problems with particular paragraphs, improvements can be and
On Wednesday, February 27, 2013 10:18:46 PM UTC-6, alex23 wrote:
> You claim that no one has time to write a bug report. I point out that
> if they can spend the time ranting about the bug, then they have the
> time.
And i would like to point out that all your nay-saying and condemnations are
ta
On Feb 28, 1:43 pm, Rick Johnson wrote:
> Guido can start the ball rolling 10 minutes from now, all it will
> take is for him to make a public announcement...
Can you please stop this *constant* insistence that Guido talk to
you / do what you think is important? It's pointless posturing and
empty
On Feb 28, 12:05 pm, Rick Johnson
wrote:
> On Wednesday, February 27, 2013 5:25:25 PM UTC-6, alex23 wrote:
> > Ranting on public forums is nothing but posturing at best, and at
> > worst an attempt to blackmail-by-shame people into doing something for
> > you. Same goes for calls for "the communit
On Wednesday, February 27, 2013 7:43:58 PM UTC-8, Rick Johnson wrote:
>
> Python is a great language, but we need diverse ideas to keep the cogs of
> evolution turning. Guido can start the ball rolling 10 minutes from now, all
> it will take is for him to make a public announcement...
Geez, dud
On Wednesday, February 27, 2013 8:44:08 PM UTC-6, Chris Angelico wrote:
> On Thu, Feb 28, 2013 at 1:05 PM, Rick Johnson wrote:
> > This is why i will AGAIN mention my PyWarts list
> > (Hypothetical at this point). We need an official place
> > for the many problems of Python to be discussed in a
>
How would you find the slope, y intercept, and slope-intercept form equation
for a line in python?
--
http://mail.python.org/mailman/listinfo/python-list
On Wednesday, February 27, 2013 4:40:41 PM UTC-8, Rick Johnson wrote:
>
> Before you decide to start participating in outside projects may we have a
> list of some of the software you've written for yourself? (With all due
> respect) I very seriously doubt that someone with only a "few months" o
On Wednesday, February 27, 2013 12:31:11 AM UTC-8, Alvin Ghouas wrote:
> Hi everyone!
>
>
>
> First of all: Im new to this group and i dont know if there are any "rules"
> or jargon around her. If so; pleas fill me in.
>
>
>
> So, I desided to start learning programming a few months ago and
On Thu, Feb 28, 2013 at 1:05 PM, Rick Johnson
wrote:
> This is why i will AGAIN mention my PyWarts list (Hypothetical at this
> point). We need an official place for the many problems of Python to be
> discussed in a fair and open manner. A place that will be open to noobs and
> frequented by p
I just completed my first Python app for public consumption, and I was learning
as I was coding. I've played on the outskirts of the language for a few years,
but until this project I'd never really immersed myself in it. I ended up
being confused a lot. So, I DO have some relevant thoughts:
On 2/27/2013 8:17 PM, ru...@yahoo.com wrote:
On 02/26/2013 11:43 AM, Terry Reedy wrote:
In which JoePie91 writes:
...the community around Python is one of the most hostile and
unhelpful communities around any programming-related topic that
I have ever seen...
To me, this is a lying
In article <287852cd-09ee-4768-9591-c1f31fe04...@googlegroups.com>,
Rick Johnson wrote:
> When someone tries to offer help, in the form of constructive criticism, and
> then somebody snaps at them, they then loose the will to help. I myself would
> love to contribute my "quite awesome" re-writ
On 2/27/2013 7:15 PM, Ian Kelly wrote:
On Wed, Feb 27, 2013 at 3:24 PM, Terry Reedy wrote:
Py33
timeit.repeat("{1:'abc需'}")
[0.2573893570572636, 0.24261832285651508, 0.24259548003601594]
On my win system, I get a lower time for this:
[0.16579443757208878, 0.1475787649924598, 0.14970205670
On Wednesday, February 27, 2013 5:25:25 PM UTC-6, alex23 wrote:
> Ranting on public forums is nothing but posturing at best, and at
> worst an attempt to blackmail-by-shame people into doing something for
> you. Same goes for calls for "the community" to "fix" things.
What you call ranting is most
On 28/02/2013 01:17, ru...@yahoo.com wrote:
On 02/26/2013 11:43 AM, Terry Reedy wrote:
On 2/26/2013 7:54 AM, Steven D'Aprano wrote:
One week ago, "JoePie91" wrote a blog post challenging the Python
community and the state of Python documentation, titled:
"The Python documentation is bad, and y
In article <54967758-e84c-4b9c-a09c-10fbdbec2...@googlegroups.com>,
Rick Johnson wrote:
> do you /really/ expect that people have the
> time to open an issue on the bug tracker?
There's a certain amount of socialism involved in OSS. "From each
according to his ability," really is the way it
On 02/26/2013 11:43 AM, Terry Reedy wrote:
> On 2/26/2013 7:54 AM, Steven D'Aprano wrote:
>> One week ago, "JoePie91" wrote a blog post challenging the Python
>> community and the state of Python documentation, titled:
>>
>> "The Python documentation is bad, and you should feel bad".
>>
>> http://j
On Wed, 27 Feb 2013 15:20:04 -0800, rurpy wrote:
> As JoePie91 pointed out, reference material should describe its subject
> matter completely and accurately. Once documentation has archived that
> minimum bar of viability, its quality is determined by how effectively
> it transfers that informat
On Wed, 27 Feb 2013 13:26:18 +, Antoine Pitrou wrote:
> For the record, binary files are thread-safe in Python 3, but text files
> are not.
Where is this documented please?
--
Steven
--
http://mail.python.org/mailman/listinfo/python-list
On Wednesday, February 27, 2013 2:31:11 AM UTC-6, Alvin Ghouas wrote:
> First of all: Im new to this group and i dont know if
> there are any "rules" or jargon around her. If so; pleas
> fill me in.
The only rules are there are no rules. All we can hope is that everyone will
"try" to play nicely
3463
577 SW Dexter Cir, Apt 201
1442 SW Haygood Loop, Apt 101
Lake City, FL 32025
(386) 438-8968
Local PD: (386) 752-4344
From: "6StringStu"
Newsgroups: alt.social-security-disability
Date: Fri, 2 Apr 2010 01:02:30 -0500
" Of the three felonies on my record,
1: Violation of the Mann act (feder
On Feb 27, 6:31 pm, Alvin Ghouas wrote:
> Yet despite my numerouse web searchs for project based tutorials,i cant
> seem to find any good ones.
Welcome to the python list.
Guides on writing large projects are definitely few and far between. I
can only think of a few, but they're all specifically
On Wed, Feb 27, 2013 at 3:24 PM, Terry Reedy wrote:
>> Py33
> timeit.repeat("{1:'abc需'}")
>> [0.2573893570572636, 0.24261832285651508, 0.24259548003601594]
>
> On my win system, I get a lower time for this:
> [0.16579443757208878, 0.1475787649924598, 0.14970205670637426]
>
>> Py323
>> timeit
On Feb 28, 7:58 am, fabriceS wrote:
> Is anybody know how to get the lenght (in seconds) of a mp3 file ?
Try eyeD3: https://pypi.python.org/pypi/eyeD3
>>> import eyed3
>>> mp3 = eyed3.load(r'pygame\examples\data\house_lo.mp3')
>>> mp3.info.time_secs
7
--
http://mail.python.org/m
Am 27.02.2013 23:24, schrieb Terry Reedy:
> On 2/27/2013 3:21 AM, jmfauth hijacked yet another thread:
>> Some are building, some are destroying.
>
> We are still waiting for you to help build a better 3.3+, instead of
> trying to 'destroy' it with mostly irrelevant cherry-picked benchmarks.
PEP
On Feb 27, 1:13 pm, Rick Johnson wrote:
> Terry (with all due respect), do you /really/ expect that people
> have the time to open an issue on the bug tracker?
If someone can write a paragraph on their blog or this list
complaining about a problem, then yes, they have the time to open an
issue on
Is there a way to display video (an avi) in tkinter without having to download
other modules? If not then are there any other options?
--
http://mail.python.org/mailman/listinfo/python-list
On 02/26/2013 05:54 AM, Steven D'Aprano wrote:
> One week ago, "JoePie91" wrote a blog post challenging the Python
> community and the state of Python documentation, titled:
>
> "The Python documentation is bad, and you should feel bad".
>
> http://joepie91.wordpress.com/2013/02/19/the-python-do
Hi,
Wingware has released version 4.1.11 of Wing IDE, our integrated development
environment designed specifically for the Python programming language.
Wing IDE provides a professional quality code editor with vi, emacs, and
other
key bindings, auto-completion, call tips, refactoring, context-a
On Wednesday, February 27, 2013 7:22:44 AM UTC-6, Antoine Pitrou wrote:
> Which means that in the end you would really want a diversity of HOWTOs
> targeted at different usages of the stdlib. But it is a lot of work to
> write *and* maintain.
So instead we maintain a "simple", albeit broken, doc t
On 02/27/2013 08:22 AM, Antoine Pitrou wrote:
Mitya Sirenef lightbird.net> writes:
>> I think the issue with python documentation is that it ignores the 95/5
>> rule: 95% of people who land on a module's page are only looking for 5%
>> of its information.
>
> The 95/5 rule is generally a fallac
On 2/27/2013 3:21 AM, jmfauth hijacked yet another thread:
> Some are building, some are destroying.
We are still waiting for you to help build a better 3.3+, instead of
trying to 'destroy' it with mostly irrelevant cherry-picked benchmarks.
> Py33
timeit.repeat("{1:'abc需'}")
> [0.25738
On Wednesday, February 27, 2013 3:58:03 PM UTC-6, fabriceS wrote:
> Is anybody know how to get the lenght (in seconds) of a mp3 file ?
Well Mp3's have a huge header with tons of info stuffed inside. And i remember
seeing a nice recipe on the Python cookbook (or maybe SO) for parsing the data.
I
Hi,
Is anybody know how to get the lenght (in seconds) of a mp3 file ?
I try with pygame.mixer but without success...
Thanks
Fabrice
--
http://mail.python.org/mailman/listinfo/python-list
On 2/27/2013 3:51 AM, Marwan wrote:
Hello all,
I'm new to Python and just starting to learn it. For he needs of my
project, I need to call some specific methods in Python scripts from C++.
For now, I just compiled the example in the Python documentation about
Pure Embedding to try it out (
http
- Original Message -
> On 02/26/2013 05:18 AM, Steven D'Aprano wrote:
> > Nuitka now supports Python 3.2 syntax and compiles the full CPython
> > 3.2
> > test suite.
>
> Interestingly, GvR seemed to be quite critical of it in his comment
> at
> the end of this post:
> https://ep2013.europy
On 02/26/2013 05:18 AM, Steven D'Aprano wrote:
> Nuitka now supports Python 3.2 syntax and compiles the full CPython 3.2
> test suite.
Interestingly, GvR seemed to be quite critical of it in his comment at
the end of this post:
https://ep2013.europython.eu/conference/talks/nuitka-the-python-compi
I've been developing in Django for a while now and I often find that when
there is an exception in a view I'm working on, the error traceback screen
does not show the actual error; instead it claims the error occurred in
django itself (usually .../django/core/handlers/base.py).
Why is this?
(I'm
Antoine Pitrou wrote:
> Jens Thoms Toerring toerring.de> writes:
> >
> > Paul Rubin nospam.invalid> wrote:
> > > jt toerring.de (Jens Thoms Toerring) writes:
> > > > in garbled output (i.e. having some output from A inside a
> > > > line written by B or vice versae) because the "main thread" o
Am 27.02.13 09:51, schrieb Marwan:
And I'd appreciate it if you could give me pointers to how to easily
call Python from C++.
Maybe you can use boost::python?
http://www.boost.org/doc/libs/1_53_0/libs/python/doc/
Cave: I haven't used it and don't know if it is up-to-date.
Christian
Le mercredi 27 février 2013 14:55:42 UTC+1, Tarek Ziadé a écrit :
> On 2/27/13 11:52 AM, Gilles Lenfant wrote:
>
> > Hello,
[...]
>
> > Thanks in advance fo any pointer.
>
> >
>
> You can have a look at Circus - https://circus.readthedocs.org which is
>
> a process manager.
>
>
>
> "circ
s/TPC/TCP ;)
--
http://mail.python.org/mailman/listinfo/python-list
On 2/27/13 11:52 AM, Gilles Lenfant wrote:
Hello,
Sorry for the obscure title, but I can't make short to explain what I'm
searching for. :)
I made an app (kind of proxy) that works without UI within it's process. So
far, so good.
Now I need to change "live" some controls of this application,
Hello,
Just recently learned about memory-mapped files (module mmap). If two
processes open the same file, this file is mapped for both processes. So at
the same time the same memory space can be accesses by two processes. The
documentation stated that memory-mapped files can (and are) used for
in
Jens Thoms Toerring toerring.de> writes:
>
> Paul Rubin nospam.invalid> wrote:
> > jt toerring.de (Jens Thoms Toerring) writes:
> > > in garbled output (i.e. having some output from A inside a
> > > line written by B or vice versae) because the "main thread" or
>
> > Yes they do get garbled li
Mitya Sirenef lightbird.net> writes:
> I think the issue with python documentation is that it ignores the 95/5
> rule: 95% of people who land on a module's page are only looking for 5%
> of its information.
The 95/5 rule is generally a fallacy which ignores that the 5% which the
readers are expec
On Thu, Feb 28, 2013 at 12:06 AM, Gilles Lenfant
wrote:
> Le mercredi 27 février 2013 11:52:19 UTC+1, Gilles Lenfant a écrit :
>> Hello,
>>
> Hello again,
>
> And thanks to all for your pointers and ideas.
>
> As the app is already tied to an Unix like OS, I'll go with signal handling
> first sin
Steven D'Aprano pearwood.info> writes:
>
> It is valuable to contrast and compare the PHP and Python docs:
>
> http://php.net/manual/en/index.php
> http://www.python.org/doc/
I suppose you should compare it with http://docs.python.org/3/ instead.
> There's no doubt that one of PHP's strengths,
Le mercredi 27 février 2013 11:52:19 UTC+1, Gilles Lenfant a écrit :
> Hello,
>
Hello again,
And thanks to all for your pointers and ideas.
As the app is already tied to an Unix like OS, I'll go with signal handling
first since I can do all I need through reconfiguration (SIGHUP).
If I need ot
- Original Message -
> Hello,
>
> Sorry for the obscure title, but I can't make short to explain what
> I'm searching for. :)
>
> I made an app (kind of proxy) that works without UI within it's
> process. So far, so good.
>
> Now I need to change "live" some controls of this application,
On 27/02/2013 11:14, Peter Otten wrote:
I think you misunderstood. You compare the time it takes to run the function
coded in C and its Python equivalent -- that difference is indeed
significant.
indeed. The function call overhead there looks pretty small so perhaps that's
the way fo
On 27 February 2013 11:03, Chris Angelico wrote:
> On Wed, Feb 27, 2013 at 9:52 PM, Gilles Lenfant
> wrote:
> > Hello,
> >
> > Sorry for the obscure title, but I can't make short to explain what I'm
> searching for. :)
> >
> > I made an app (kind of proxy) that works without UI within it's proce
Hi
Might be an overkill, but have a look at twisted,
http://www.twistedmatrix.com
I usually use the spread package for structured communication between
partners via localhost
What are the best practices to do this ? Examples in a well known Pyhon app I
could hack ? Is it possible with sta
Robin Becker wrote:
> On 26/02/2013 18:38, Peter Otten wrote:
>> Robin Becker wrote:
> ...3:
>>
>> $ python -m timeit -s 'from new import instancemethod
>>> from math import sqrt
>>> class A(int): pass
>>> A.m = instancemethod(sqrt, None, A)
>>> a = A(42)
>>> ' 'a.m()'
>> 100 loops, be
On 27/02/2013 10:49, Chris Angelico wrote:
On Wed, Feb 27, 2013 at 9:36 PM, Robin Becker wrote:
However, in my case the method takes
py C
utf8 bytes50 20 usec
unicode 39 15
here py refers to a native python method and C to the extension m
On Wed, Feb 27, 2013 at 9:52 PM, Gilles Lenfant
wrote:
> Hello,
>
> Sorry for the obscure title, but I can't make short to explain what I'm
> searching for. :)
>
> I made an app (kind of proxy) that works without UI within it's process. So
> far, so good.
>
> Now I need to change "live" some con
Hello,
I have a VBS sample code that I need to rewrite into python. It calls a com
object which then generates events. My problem is that I don't know how to
catch this events.
VBS sample looks like this:
Set oCOV = WScript.CreateObject( "RainbowObjectHandlerSrv.RainbowCOV", "oCOV_")
' like Wit
Hello,
Sorry for the obscure title, but I can't make short to explain what I'm
searching for. :)
I made an app (kind of proxy) that works without UI within it's process. So
far, so good.
Now I need to change "live" some controls of this application, without stopping
it.
So my app will be spl
On Wed, Feb 27, 2013 at 9:36 PM, Robin Becker wrote:
> However, in my case the method takes
>
>
>
> py C
> utf8 bytes50 20 usec
> unicode 39 15
>
> here py refers to a native python method and C to the extension method
> after adding to the class
On Wed, Feb 27, 2013 at 8:19 PM, Sven wrote:
> Hello,
>
> As I am new to this list I was wondering what the rules are about what you
> can/can't post on this list.
?
> Is it general python, i.e. questions, information, links to
> articles/programs you have written yourself etc are all ok as long a
On 26/02/2013 18:38, Peter Otten wrote:
Robin Becker wrote:
...3:
$ python -m timeit -s 'from new import instancemethod
from math import sqrt
class A(int): pass
A.m = instancemethod(sqrt, None, A)
a = A(42)
' 'a.m()'
100 loops, best of 3: 0.5 usec per loop
$ python -m timeit -s '
Hi!
> leonardo writes:
how can i have it print a row of stars beside each number, like this?:
how many seconds?: 5
5 * * * * *
4 * * * *
3 * * *
2 * *
1 *
blast off!
--- snip ---
sec = int(input("How many seconds? "))
for i in range(0,sec):
print str(sec-i)+":"+" *"*(sec-i)
print
On 27/02/2013 08:21, jmfauth wrote:
Fascinating software.
Some are building, some are destroying.
Py33
timeit.repeat("{1:'abc需'}")
[0.2573893570572636, 0.24261832285651508, 0.24259548003601594]
Py323
timeit.repeat("{1:'abc需'}")
[0.11000708521282831, 0.0994753634273593, 0.0990102
On 26/02/2013 12:54, Steven D'Aprano wrote:
One week ago, "JoePie91" wrote a blog post challenging the Python
community and the state of Python documentation, titled:
"The Python documentation is bad, and you should feel bad".
http://joepie91.wordpress.com/2013/02/19/the-python-documentation-is
On Wed, Feb 27, 2013 at 1:51 AM, Marwan wrote:
> When I run the generated exe, I get errors about the functions not
> existing...
>
> TestPython.exe test Hello
> AttributeError: 'module' object has no attribute 'Hello'
> Cannot find function "Hello"
"test" is the name of a module in the standard
Hello,
As I am new to this list I was wondering what the rules are about what you
can/can't post on this list.
Is it general python, i.e. questions, information, links to
articles/programs you have written yourself etc are all ok as long as they
are Python related
or is it more a Q&A where the p
Hello all,
I'm new to Python and just starting to learn it. For he needs of my
project, I need to call some specific methods in Python scripts from C++.
For now, I just compiled the example in the Python documentation about
Pure Embedding to try it out (
http://docs.python.org/2/extending/em
I would advise try answer the question: what is my goal?
Don't be surprised that not everyone become a programmer... many people fail
and get back to market thinking it was waste of time.
Thanks.
Andriy Kornatskyy
> Date: Wed, 27 Feb 2013 00:31:11 -08
On 27 fév, 09:21, jmfauth wrote:
>
>
> Fascinating software.
> Some are building, some are destroying.
>
> Py33>>> timeit.repeat("{1:'abc需'}")
>
> [0.2573893570572636, 0.24261832285651508, 0.24259548003601594]
>
> Py323
> timeit.repeat("{1:'abc需'}")
> [0.11000708521282831, 0.0994753634273
Hi everyone!
First of all: Im new to this group and i dont know if there are any "rules" or
jargon around her. If so; pleas fill me in.
So, I desided to start learning programming a few months ago and by now i feel
pretty confident about the basics of the python language, and programming in
ge
Fascinating software.
Some are building, some are destroying.
Py33
>>> timeit.repeat("{1:'abc需'}")
[0.2573893570572636, 0.24261832285651508, 0.24259548003601594]
Py323
timeit.repeat("{1:'abc需'}")
[0.11000708521282831, 0.0994753634273593, 0.09901023634051853]
jmf
--
http://mail.py
84 matches
Mail list logo