Announcing M2Crypto 0.21.1
Changes:
0.21.1 - 2011-01-15
---
- Distribution fix
0.21 - 2011-01-12
-
- Support OpenSSL 1.0. Thanks to Miloslav Trmac for figuring out how
to fix test_smime.py
- Rename m2.engine_init to engine_init_error so that
ENGINE_init and
Update - Python Courses 2011
The date of the EuroSciPy 2011 is finalized [1]. Being the main organizer of
the first two EuroSciPy conferences in 2008 and 2009 in Leipzig and
experiencing the great success of last year's event in Paris, I have to be
there.
We are glad to announce release 3.0 of the Modular toolkit for Data
Processing (MDP).
MDP is a Python library of widely used data processing algorithms
that can be combined according to a pipeline analogy to build more
complex data processing software. The base of available algorithms
includes
On 01/16/2011 10:46 PM, Octavian Rasnita wrote:
From: Steven D'Aprano steve+comp.lang.pyt...@pearwood.info
Sent: Monday, January 17, 2011 1:04 AM
Subject: Re: Tkinter: The good, the bad, and the ugly!
Well, true, but people tend to *use* the parts of the GUIs that are
simple and basic. Not
Hi Georg,
I can't be sure it is a bug, but there is a definite difference of
behavior between 3.0/3.1 and 3.2rc1.
Given this directory layout:
$ ls -R Graphics/
Graphics/:
__init__.py Vector Xpm.py
Graphics/Vector:
__init__.py Svg.py
And these files:
$ cat Graphics/__init__.py
__all__ =
On 2011-01-16, geremy condra debat...@gmail.com wrote:
On Sun, Jan 16, 2011 at 3:03 AM, Tim Harig user...@ilthio.net wrote:
On 2011-01-16, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote:
If the author thinks that Go is a tried and true (his words, not mine)
language where
14.01.2011, 21:52, mukesh tiwari mukeshtiwari.ii...@gmail.com:
Hello all , I have implemented Elliptic curve prime factorisation
using wikipedia [
http://en.wikipedia.org/wiki/Lenstra_elliptic_curve_factorization].
I think that this code is not optimised and posting for further
improvement.
hi Chris,
Thank you for your advice.
I will use tmpfs as a temperory file system to detail with it.
Cheers,
Cun Zhang
On Sat, Jan 15, 2011 at 4:51 AM, Chris Rebert c...@rebertia.com wrote:
On Fri, Jan 14, 2011 at 7:52 AM, Cun Zhang apzc2...@gmail.com wrote:
Hi,all
I hope use cStringIO to
On 2011-01-17, Paul Rubin no.email@nospam.invalid wrote:
geremy condra debat...@gmail.com writes:
I agree. That does not make Go that language, and many of the choices
made during Go's development indicate that they don't think it's that
language either. I'm speaking specifically of its
Hi all,
I'm quite a novice in doing python,and i wish to ask you guys a question on
the module import.
Say we have a source file called module1.py.
What's the difference between the import module1 and from module1
import *
I know that conventionally by coding style, we dont use the second
Tim Harig schrieb:
[snip]
This isn't such a tragedy Erlang as it is for other managed VMs because
Erlang/BEAM makes powerful usage of its VM for fault tolerance mechanisms. I
don't know of any other VM that allows software upgrades on a running system.
styx, the distributed operating system
On Mon, Jan 17, 2011 at 2:01 AM, frank cui frankcu...@gmail.com wrote:
Hi all,
I'm quite a novice in doing python,and i wish to ask you guys a question on
the module import.
Say we have a source file called module1.py.
What's the difference between the import module1 and from module1
On Mon, Jan 17, 2011 at 2:03 PM, Mark Summerfield l...@qtrac.plus.com wrote:
Hi Georg,
I can't be sure it is a bug, but there is a definite difference of
behavior between 3.0/3.1 and 3.2rc1.
I can do the relative import with Python 3.0 and 3.1 but not with
3.2rc1:
Are you sure that the
On Mon, 17 Jan 2011 09:12:04 +, Tim Harig wrote:
Python has been widely used by people like us that happen to like the
language and found ways to use it in our workplaces; but, most of the
time it is an unofficial use that the company. You still don't see many
companies doing large scale
On Mon, Jan 17, 2011 at 1:12 AM, Tim Harig user...@ilthio.net wrote:
On 2011-01-16, geremy condra debat...@gmail.com wrote:
On Sun, Jan 16, 2011 at 3:03 AM, Tim Harig user...@ilthio.net wrote:
snip
Personally, I think the time is ripe for a language that bridges the
gap between ease of use
On Jan 17, 12:44 am, TomF tomf.sess...@gmail.com wrote:
Thanks for your reply. I can enqueue all the jobs before waiting for
the results, it's just that I want the parent to process the results as
they come back. I don't want the parent to block until all results are
returned. I was hoping
Announcing M2Crypto 0.21.1
Changes:
0.21.1 - 2011-01-15
---
- Distribution fix
0.21 - 2011-01-12
-
- Support OpenSSL 1.0. Thanks to Miloslav Trmac for figuring out how
to fix test_smime.py
- Rename m2.engine_init to engine_init_error so that
ENGINE_init and
On Jan 17, 3:30 am, Steven Howe howe.ste...@gmail.com wrote:
Target your market. Design your software in the Model-View-Controller
format. It becomes easy to configure you frontend, your GUI, your web
page, if your code is written to separate the work from the glitz.
If there were some
On 2011-01-17, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote:
On Mon, 17 Jan 2011 09:12:04 +, Tim Harig wrote:
Python has been widely used by people like us that happen to like the
language and found ways to use it in our workplaces; but, most of the
time it is an unofficial
On 2011-01-17, Chris Rebert c...@rebertia.com wrote:
On Mon, Jan 17, 2011 at 1:12 AM, Tim Harig user...@ilthio.net wrote:
On 2011-01-16, geremy condra debat...@gmail.com wrote:
On Sun, Jan 16, 2011 at 3:03 AM, Tim Harig user...@ilthio.net wrote:
snip
Personally, I think the time is ripe for a
In article d9703f77-31a4-42af-aa1d-a4acedbcf...@d7g2000vbv.googlegroups.com,
Adam Skutt ask...@gmail.com wrote:
On Jan 14, 5:17=A0pm, Albert van der Horst alb...@spenarnc.xs4all.nl
wrote:
I really don't follow that. You need a tremendous set to write gimp.
Obviously you won't write gimp in
In article 4d337983$0$29983$c3e8da3$54964...@news.astraweb.com,
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote:
On Sun, 16 Jan 2011 07:18:16 -0800, Adam Skutt wrote:
[...]
I'm afraid I found most of your post hard to interpret, because you
didn't give sufficient context for me to
In article mailman.842.1295212943.6505.python-l...@python.org,
Philip Semanchuk phi...@semanchuk.com wrote:
SNIP
I grepped through the code to see that it's using =
multiprocessing.Listener. I didn't go any further than that because our =
project is BSD licensed and the license for Gluino is
On Jan 17, 8:30 am, Albert van der Horst alb...@spenarnc.xs4all.nl
wrote:
We are not talking about running applications, but about writing
applications.
Someone has to write the applications I run...
I count 4000+ .py files in my /usr/share alone on Ubuntu.
Your set is totally
On Mon, 2011-01-17 at 13:55 +, Albert van der Horst wrote:
In article mailman.842.1295212943.6505.python-l...@python.org,
Philip Semanchuk phi...@semanchuk.com wrote:
SNIP
I grepped through the code to see that it's using =
multiprocessing.Listener. I didn't go any further than that
On Mon, 17 Jan 2011 09:23:39 -0500
R. David Murray rdmur...@bitdance.com wrote:
On Mon, 17 Jan 2011 08:33:42 +, Mark Summerfield
l...@qtrac.plus.com wrote:
from ..Graphics import Xpm
SVG = 1
I can do the relative import with Python 3.0 and 3.1 but not with
3.2rc1:
What about
As a scientist using computer tools, and not as a computer
scientist, I discovered Python long time ago (it was in its
1.5.6 version) and I remain an happy user up to now date.
Yesterday, I was happy to download and test Python 3.2rc1.
Python is still this powerful and pleasant language, but...
I
On Mon, Jan 17, 2011 at 08:31, jmfauth wxjmfa...@gmail.com wrote:
As a scientist using computer tools, and not as a computer
scientist, I discovered Python long time ago (it was in its
1.5.6 version) and I remain an happy user up to now date.
Yesterday, I was happy to download and test Python
On Jan 14, 11:28 pm, Steven D'Aprano steve
+comp.lang.pyt...@pearwood.info wrote:
Does this help?
http://packages.python.org/kitchen/api-text-display.html
Ooh, it doesn’t appear to be a full line-breaking
implementation but it certainly helps for what I want to do
in my project! Thanks much!
On Mon, 17 Jan 2011 08:33:42 +, Mark Summerfield l...@qtrac.plus.com
wrote:
from ..Graphics import Xpm
SVG = 1
I can do the relative import with Python 3.0 and 3.1 but not with
3.2rc1:
What about 3.1.3? I wonder if it is related to this issue:
http://bugs.python.org/issue7902
--
Tim Harig user...@ilthio.net writes:
Functional programming has been around a long time; but, it only regained
conciousness outside of academia because of its hyped abilities to
make threading easier.
I believe the widespread use of some functional techniques in JavaScript
had a lot to do
On Mon, 17 Jan 2011 06:31:00 -0800, jmfauth wrote:
As a scientist using computer tools, and not as a computer scientist, I
discovered Python long time ago (it was in its 1.5.6 version) and I
remain an happy user up to now date. Yesterday, I was happy to download
and test Python 3.2rc1. Python
Sherm Pendley, 17.01.2011 16:47:
I believe the widespread use of some functional techniques in JavaScript
had a lot to do with that as well.
I doubt that there's really widespread use of functional techniques in
JavaScript. Such code may be widely deployed, but that doesn't tell
anything
On Sun, 16 Jan 2011 15:41:41 -0800, Adam Skutt wrote:
If you're going to expect me to be that pedantic, then pay me the
courtesy of taking the time to find the necessary context. Nevertheless,
it's not the least bit unreasonable to address deficiencies in the
standard library as deficiencies
Everyone needs to jump off the troll wagon and come back to reality.
We need to get back on topic and compare Tkinter and wxPython by nuts
and bolts. We need to make a decision based on facts NOT
misconceptions, based on merit NOT prejudice, and finally based on
sanity NOT lunacy!
Tim Harig, 17.01.2011 13:25:
If I didn't think Python was a good language, I wouldn't be here.
Nevertheless, it isn't a good fit for many pieces of software where a
systems language is better suited. Reasons include ease of distribution
without an interpeter, non-necessity of distributing
On 17/01/2011 16:02, Stefan Behnel wrote:
Sherm Pendley, 17.01.2011 16:47:
I believe the widespread use of some functional techniques in JavaScript
had a lot to do with that as well.
I doubt that there's really widespread use of functional techniques in
JavaScript. Such code may be widely
Hi Fred, thanks for the reply.
I have already contacted old clients (those that are still in business),
but unfortunately they have either gone the 'off the shelf' route (ie.
don't use bespoke software any more), or moved-over to .NET, which is a
route which I don't want to follow. Still,
Hi,
I am getting into serious Python programming for Electronic CAD tools,
I am trying to find the best XML parser modules available. I need good
searching capability for attributes, nodes and block of XML. I am
looking for either a recommendation or previous forum links.
Thanks
Venu
--
On Monday 17 January 2011 11:05 PM, Venu wrote:
Hi,
I am getting into serious Python programming for Electronic CAD tools,
I am trying to find the best XML parser modules available. I need good
searching capability for attributes, nodes and block of XML. I am
looking for either a recommendation
Hi Venu,
Use element tree module.
This comes with Python itself and does all that you need with presision.
I have already used it and it does a very very good job.
Happy hacking.
Krishnakant.
On 17/01/11 23:05, Venu wrote:
Hi,
I am getting into serious Python programming for Electronic CAD
Venu, 17.01.2011 18:35:
I am getting into serious Python programming for Electronic CAD tools,
I am trying to find the best XML parser modules available. I need good
searching capability for attributes, nodes and block of XML. I am
looking for either a recommendation or previous forum links.
No, I'm sorry, they're not obvious at all.
These reasons become obious as soon as you start working.
Let's take a practical point view. It did not take a long time
to understand, that it is much simpler to delete the __pycache__
directory everytime I compile my scripts than to visit it just
From: Steven D'Aprano steve+comp.lang.pyt...@pearwood.info
Subject: Re: Tkinter: The good, the bad, and the ugly!
On Sun, 16 Jan 2011 15:41:41 -0800, Adam Skutt wrote:
If you're going to expect me to be that pedantic, then pay me the
courtesy of taking the time to find the necessary
On Jan 17, 12:27 pm, Octavian Rasnita orasn...@gmail.com wrote:
And Python should also not include any editor because for
some programmers it is absolutely useless anyway. The
editor can be installed separately very easy and the
programmers can choose the editor they like. The problem
is
I am recruiting for a 9 month contract (with contract extension
potential) for a company in North Austin. I am seeking an
Applications Developer very familiar with the JavaScript toolkit. The
position requires specific experience with Python, Dojo, and JQuery.
In this role, you would be
More post thoughts on removing all GUI's from stdlib...
This change would not only affect Python in a positive way (lighting
the proverbial load) it would also serve to speed the advancement of
Tkinter because now Tkinter could advance at its own pace untethered
by the release cycles of Python!
On Jan 17, 11:01 am, Steven D'Aprano steve
+comp.lang.pyt...@pearwood.info wrote:
I'm afraid that's precisely what I'm arguing you *can't* do -- there's
nothing reasonable about equating the standard library with the language.
Some languages don't even have a standard library, or for that
On Mon, Jan 17, 2011 at 1:12 AM, Tim Harig user...@ilthio.net wrote:
On 2011-01-16, geremy condra debat...@gmail.com wrote:
On Sun, Jan 16, 2011 at 3:03 AM, Tim Harig user...@ilthio.net wrote:
On 2011-01-16, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote:
If the author thinks that
Even more post thoughts on removing all GUI's from stlib...
Q: If you could replace Tkinter with any module/library (THAT IS NOT A
GUI OR IDE!!) what would you like to see fill its place?
PS: And please make this decision from a *community* perspective and
not pure selfishness.
--
In comp.lang.python, you wrote:
Tim Harig, 17.01.2011 13:25:
If I didn't think Python was a good language, I wouldn't be here.
Nevertheless, it isn't a good fit for many pieces of software where a
systems language is better suited. Reasons include ease of distribution
without an interpeter,
Hello,
We are delighted to inform you that CodeFest, the annual International online
coding festival of Computer Engineering Society, IT-BHU, has been unveiled.
CodeFest is a unique fest wherein concepts of mathematics, logic, artificial
intelligence, algorithms, language syntax, etc. are
On Jan 17, 1:26 pm, Adam Skutt ask...@gmail.com wrote:
On Jan 17, 11:01 am, Steven D'Aprano steve
Nevertheless, you can do good, useful work
with only a minimal widget set. Back when dinosaurs walked the earth,
[...snip...]
And when a time machine warps all back to the 1980s, that
lxml is a great one, but it is not simple to install libxml and libxslt on
Linux using user permissions. Also it is hard to package the scripts after
the complete development for release. Did anybody try this, if so please let
me know your thoughts on this.
Thanks
venu
On Mon, Jan 17, 2011 at
On Mon, 17 Jan 2011 11:08:52 -0800 (PST)
AlexLBasso alexlba...@gmail.com wrote:
I am recruiting for a 9 month contract (with contract extension
potential) for a company in North Austin.
Please post on the job board instead:
http://python.org/community/jobs/
Thank you
Antoine.
--
On 01/17/11 19:39, rantingrick wrote:
cut
Q: If you could replace Tkinter with any module/library (THAT IS NOT A
GUI OR IDE!!) what would you like to see fill its place?
cut
Some systems, like FreeBSD have Tkinter and IDLE as a separate package
which is not installed by default. Purely
From: rantingrick rantingr...@gmail.com
Sent: Monday, January 17, 2011 8:53 PM
Subject: Re: Tkinter: The good, the bad, and the ugly!
On Jan 17, 12:27 pm, Octavian Rasnita orasn...@gmail.com wrote:
And Python should also not include any editor because for
some programmers it is absolutely
From: Adam Skutt ask...@gmail.com
Subject: Re: Tkinter: The good, the bad, and the ugly!
On Jan 17, 11:01 am, Steven D'Aprano steve
+comp.lang.pyt...@pearwood.info wrote:
I'm afraid that's precisely what I'm arguing you *can't* do -- there's
nothing reasonable about equating the standard
Hi Stefan
Using cElementTree, would you be willing show to me how to find the nodes with
certain attribute, ie search using attributes and attibute values.
I did not see any example code from the cElementTree official website.
Regards,
Venu
--
On 1/17/2011 1:34 AM, Tim Harig wrote:
On 2011-01-17, Paul Rubinno.email@nospam.invalid wrote:
geremy condradebat...@gmail.com writes:
Which is rather interesting because the OOP community had
traditionally though of functional programming as a 1960's thing that
didn't work out.
On Jan 17, 3:08 pm, Octavian Rasnita orasn...@gmail.com wrote:
From: Adam Skutt ask...@gmail.com
And we're not discussing those languages, we're discussing Python,
which has an explicit policy of batteries included. As such,
criticism of the standard library is perfectly acceptable under the
On 2011-01-17, geremy condra debat...@gmail.com wrote:
On Mon, Jan 17, 2011 at 1:12 AM, Tim Harig user...@ilthio.net wrote:
On 2011-01-16, geremy condra debat...@gmail.com wrote:
I wouldn't say Go is narrowly targeted. It's a systems language that can
compete in the same domain with scripting
On 17.01.2011 21:04, Octavian Rasnita wrote:
I say probably not considering the availability of 3rd party
downloads. What say you, Python community?
Available as 3rd party downloads:
XML,HTML,...
HTTP,FTP,SMTP,POP,IMAP/...
MD5,SHA,...
zip,bzip,...
and so on and so on and so on.
Remove them
On 2011-01-17, John Nagle na...@animats.com wrote:
That's been done once or twice. There's what are called single
assignment languages. Each variable can only be assigned once.
The result looks like an imperative language but works like a functional
language. Look up SISAL for an
On Jan 17, 2:09 pm, Martin P. Hellwig martin.hell...@dcuktec.org
wrote:
fortunately it is not my call and I actually
quite like Tkinter.
Are you sure about that Martin? :)))
From: Martin P. Hellwig martin.hell...@dcuktec.org
Newsgroups: comp.lang.python
Subject: Re: GUIs - A Modest
Hi,
recently I had to study *seriously* Unicode and encodings for one
project in Python but I left with a couple of doubts arised after
reading the unicode chapter of Dive into Python 3 book by Mark
Pilgrim.
1- Mark says:
Also (and you’ll have to trust me on this, because I’m not going to
show
On Mon, Jan 17, 2011 at 1:07 PM, Tim Harig user...@ilthio.net wrote:
On 2011-01-17, geremy condra debat...@gmail.com wrote:
On Mon, Jan 17, 2011 at 1:12 AM, Tim Harig user...@ilthio.net wrote:
On 2011-01-16, geremy condra debat...@gmail.com wrote:
I wouldn't say Go is narrowly targeted. It's
Hi all,
Using numpy, I can create large 2-dimensional arrays quite easily.
import numpy
mylist = numpy.zeros((1,2), dtype=numpy.int32)
Unfortunately, my target audience may not have numpy so I'd prefer not to use
it.
Similarly, a list-of-tuples using standard python syntax.
mylist =
On 01/17/11 22:00, rantingrick wrote:
On Jan 17, 2:09 pm, Martin P. Hellwigmartin.hell...@dcuktec.org
wrote:
fortunately it is not my call and I actually
quite like Tkinter.
Are you sure about that Martin? :)))
From: Martin P. Hellwigmartin.hell...@dcuktec.org
Newsgroups: comp.lang.python
Hello,
I am trying to use jpype, but after several hours/days, I still cannot get
it to work.
I get a TypeError --- Package is not Callable error. (See below)
I already have done a good workable chunk of code I wrote in Java that
implements steam table calculations. After a few weeks of
On 17.01.2011 23:19, carlo wrote:
Is it true UTF-8 does not have any big-endian/little-endian issue
because of its encoding method? And if it is true, why Mark (and
everyone does) writes about UTF-8 with and without BOM some chapters
later? What would be the BOM purpose then?
Can't answer
On 2011-01-17, carlo syseng...@gmail.com wrote:
Is it true UTF-8 does not have any big-endian/little-endian issue
because of its encoding method? And if it is true, why Mark (and
everyone does) writes about UTF-8 with and without BOM some chapters
later? What would be the BOM purpose then?
On Mon, 17 Jan 2011 14:19:13 -0800 (PST)
carlo syseng...@gmail.com wrote:
Is it true UTF-8 does not have any big-endian/little-endian issue
because of its encoding method?
Yes.
And if it is true, why Mark (and
everyone does) writes about UTF-8 with and without BOM some chapters
later? What
On 1/16/2011 11:20 PM, rantingrick wrote:
Ok, try this...
http://juicereceiver.sourceforge.net/screenshots/index.php
http://www.sensi.org/~ak/pyslsk/pyslsk6.png
http://www.wxwidgets.org/about/screensh.htm
Ok, wxwidgets can look at least as good as tk. Agreed that wxpython
On Mon, Jan 17, 2011 at 2:20 PM, Jake Biesinger
jake.biesin...@gmail.com wrote:
Hi all,
Using numpy, I can create large 2-dimensional arrays quite easily.
import numpy
mylist = numpy.zeros((1,2), dtype=numpy.int32)
Unfortunately, my target audience may not have numpy so I'd prefer
On 17 Gen, 23:34, Antoine Pitrou solip...@pitrou.net wrote:
On Mon, 17 Jan 2011 14:19:13 -0800 (PST)
carlo syseng...@gmail.com wrote:
Is it true UTF-8 does not have any big-endian/little-endian issue
because of its encoding method?
Yes.
And if it is true, why Mark (and
everyone does)
On Jan 17, 4:47 pm, Terry Reedy tjre...@udel.edu wrote:
On 1/16/2011 11:20 PM, rantingrick wrote:
Ok, try this...
http://juicereceiver.sourceforge.net/screenshots/index.php
http://www.sensi.org/~ak/pyslsk/pyslsk6.png
http://www.wxwidgets.org/about/screensh.htm
Ok,
No. The benefit of, for instance, not adding 200 .pyc files to a
directory with 200 .py files is immediately obvious to most people.
On 1/17/2011 1:17 PM, jmfauth wrote:
No, I'm sorry, they're not obvious at all.
These reasons become obious as soon as you start working.
Let's take a
On 2011-01-17, geremy condra debat...@gmail.com wrote:
On Mon, Jan 17, 2011 at 1:07 PM, Tim Harig user...@ilthio.net wrote:
On 2011-01-17, geremy condra debat...@gmail.com wrote:
On Mon, Jan 17, 2011 at 1:12 AM, Tim Harig user...@ilthio.net wrote:
On 2011-01-16, geremy condra
From: jsmithfi...@hotmail.co.uk
To: w...@python.org
Subject: Entry of Non-European (Unicode or UTF-8) characters
Date: Mon, 17 Jan 2011 18:26:36 +
Hi there.
I have difficulty entering directly non-European Unicode characters into Python
3.2's interpreter. When I do enter them, I
Hi,
what about pytables? It's built for big data collections and it doesn't
clog up the memory.
Am 17.01.2011 23:54, schrieb Dan Stromberg:
On Mon, Jan 17, 2011 at 2:20 PM, Jake Biesinger
jake.biesin...@gmail.com wrote:
Hi all,
Using numpy, I can create large 2-dimensional arrays quite
Using numpy, I can create large 2-dimensional arrays quite easily.
IIUC (please confirm), you don't need a generic two-dimensional
array, but rather an Nx2 array, where N may be large (but the other
dimension will always have a magnitude of 2).
Since I want to keep the two elements together
On Monday, January 17, 2011 4:12:51 PM UTC-8, OAN wrote:
Hi,
what about pytables? It's built for big data collections and it doesn't
clog up the memory.
I thought PyTables depends on NumPy? Otherwise I would indeed use their carray
module.
Thanks!
--
IIUC (please confirm), you don't need a generic two-dimensional
array, but rather an Nx2 array, where N may be large (but the other
dimension will always have a magnitude of 2).
Yes, that's right, Nx2 not NxM.
Since I want to keep the two elements together during a sort
I assume (please
That's why i disagree (and hate) the automatic compilation of code, my
project directory becomes full of object files, and then i need to either
delete everything manually or create a script to do the work (not in python,
because it'll dirt things even more :). Sometimes i notice python doesn't
On Jan 17, 2:20 pm, Jake Biesinger jake.biesin...@gmail.com wrote:
Is there a python standard library way of creating *efficient* 2-dimensional
lists/arrays, still allowing me to sort and append?
Without using third party libraries, no not really. numpy has it
covered so there's not really a
find . -name \*.pyc -exec rm -f {} \;
vs.
rm -rf __pycache__
I do not see how this is more difficult, but I may be missing something.
— Alice.
--
http://mail.python.org/mailman/listinfo/python-list
I somehow missed this before. I like most of the additions from
Raymond Hettinger. But the api on this baffles me a bit:
d = OrderedDict.fromkeys('abcde')
d.move_to_end('b', last=False)
''.join(d.keys)
'bacde'
I understand that end could potentially mean either end, but would
move_to_end
On Jan 17, 8:51 pm, nn prueba...@latinmail.com wrote:
I somehow missed this before. I like most of the additions from
Raymond Hettinger. But the api on this baffles me a bit:
If we are not careful with all these additions we could end up with
a language like ruby which has wasteful methods to
On 1/17/2011 8:59 PM, Flávio Lisbôa wrote:
That's why i disagree (and hate) the automatic compilation of code, my
project directory becomes full of object files
That is one point of stashing them all in a .__pycache__ directory.
After reading some articles about it, I've come to think python
Terry Reedy tjre...@udel.edu writes:
On 1/17/2011 8:59 PM, Flávio Lisbôa wrote:
But that's me, i'm sure most of python users don't mind at all.
Seems so. Complaints are rare.
That conclusion isn't valid; the behaviour is (AIUI) only in Python 3.2
and later. You can't presume that a lack of
On Jan 18, 4:13 am, rantingrick rantingr...@gmail.com wrote:
On Jan 17, 4:47 pm, Terry Reedy tjre...@udel.edu wrote:
On 1/16/2011 11:20 PM, rantingrick wrote:
Ok, try this...
http://juicereceiver.sourceforge.net/screenshots/index.php
On Jan 17, 6:29 pm, Alice Bevan–McGregor al...@gothcandy.com wrote:
find . -name \*.pyc -exec rm -f {} \;
vs.
rm -rf __pycache__
I do not see how this is more difficult, but I may be missing something.
Well the former deletes all the pyc files in the directory tree
whereas
On Jan 17, 10:17 am, jmfauth wxjmfa...@gmail.com wrote:
No, I'm sorry, they're not obvious at all.
These reasons become obious as soon as you start working.
Let's take a practical point view. It did not take a long time
to understand, that it is much simpler to delete the __pycache__
On 1/17/2011 10:57 PM, Ben Finney wrote:
Terry Reedytjre...@udel.edu writes:
On 1/17/2011 8:59 PM, Flávio Lisbôa wrote:
But that's me, i'm sure most of python users don't mind at all.
Seems so. Complaints are rare.
That conclusion isn't valid; the behaviour is (AIUI) only in Python 3.2
On Jan 17, 10:17 am, jmfauth wxjmfa...@gmail.com wrote:
That's life, unfortunately.
Also, an earlier version of the proposal was to create a *.pyr
directory for each *.py file. That was a real mess; be thankful they
worked on it and came up with a much cleaner method.
Carl Banks
--
On Jan 17, 10:24 pm, rusi rustompm...@gmail.com wrote:
The quality of ... systems will decline unless they are rigorously
maintained and adapted to operational environment changes.
This is both eloquent and frightening at the same time when applied to
the current state of Python's stdlib. We
On Mon, 17 Jan 2011 19:41:54 +, Tim Harig wrote:
One of the arguments for Python has always made is that you can optimize
it by writing the most important parts in C. Perhaps that is a crutch
that has held the communty back from seeking higher performance
solutions in the language
On Jan 17, 6:51 pm, nn prueba...@latinmail.com wrote:
I somehow missed this before. I like most of the additions from
Raymond Hettinger. But the api on this baffles me a bit:
d = OrderedDict.fromkeys('abcde')
d.move_to_end('b', last=False)
''.join(d.keys)
'bacde'
I understand that end
On Jan 17, 6:51 pm, nn prueba...@latinmail.com wrote:
...But the api on this baffles me a bit:
d = OrderedDict.fromkeys('abcde')
d.move_to_end('b', last=False)
''.join(d.keys)
'bacde'
I understand that end could potentially mean either end, but would
move_to_end and move_to_beginning
1 - 100 of 182 matches
Mail list logo