September 9th, 2008
msquared (Administrator)
|
Python 2.5.3: call for patches
troelswh@gmail.com wrote:
This references
http://bugs.python.org/issue2588
http://bugs.python.org/issue2589
both of which report fixes backported to... more »
|
|
python debugger tips?
Hi All,
I'm switching to python from perl, and like the language a ton, but I
find pdb and pydb to be vastly inferior debuggers to the perl... more »
|
|
Re: indexing arrays
John wrote:
If these are numpy arrays, as appears, rather that array module arrays,
then the numpy list might be a better place. In any case,... more »
|
|
Read data from Serial Command
Thanks for the message
What exactly is happening is that the return is "None" for the command
that I am sending. If I connect through Hyperterminal... more »
|
|
extracting null pointer address from PyCObject with ctypes
Aaron "Castironpi" Brady wrote:
I have a hard time following that, if using ctypes you used PyDLL to
call PyCObject_AsVoidPtr on the PyCObject I... more »
|
|
python 3: sorting with a comparison function
Kay Schluehr wrote:
I am not sure what you do not get, but it should say 'for example,
key=str.lower." None is the default value of key. more »
|
|
Using multiprocessing
I am attempting to use the (new in 2.6) multiprocessing package to
process 2 items in a large queue of items simultaneously. I'd like to
be able to... more »
|
|
Set Your EMAIL CLIENT dates correctly.
I am sure this has been ranted about. People who have their dates in
their client set to 2020 should be banned from using the internet,
unless they... more »
|
|
Re: Where/how to propose an addition to a standard module?
I would like to propose a new method for the string.Template class. What's
There is a python-ideas mailing list. I think that's probably the
right... more »
|
|
Re: How to create a tuple quickly with list comprehension?
on Wed Jun 13 10:17:24 CEST 2007, Diez B. Roggisch deets at nospam.web.de wrote:
Well I have looked into this and it seems that using the... more »
|
|
Where/how to propose an addition to a standard module?
I would like to propose a new method for the string.Template class.
What's the proper procedure for doing this? I've joined the python-
ideas list,... more »
|
|
Re: Efficient Bit addressing in Python.
On Oct 11, 5:27 am, "Hendrik van Rooyen" <m...@microcorp.co.zawrote:
Not necessarily. You've mentioned two ways.
PS: Umm, a little bit off note:... more »
|
|
Get "code object" of class
On Oct 10, 5:50 am, Okko Willeboordse <tr...@willeboordse.demon.nl>
wrote:
Classes don't have a code object that is visible at run-time, at... more »
|
|
urlparse import Faillure
On Thu, 9 Oct 2008 22:47:58 -0700 (PDT), Robert Hancock wrote:
....
....
Have you tried getting rid of this comment? I doubt that
the comment is a... more »
|
|
Re: Efficient Bit addressing in Python.
On Oct 11, 5:27 am, "Hendrik van Rooyen" <m...@microcorp.co.zawrote:
Not necessarily. You've mentioned two ways.
PS: Umm, a little bit off note:... more »
|
|
default value in __init__
Chris Rebert:
Okay, it can't be fixed then.
Bye and thank you,
bearophile more »
|
|
Subprocess problem on multiple OS's
Subprocess issues with platform independence
Postby ajamin on Wed Oct 08, 2008 10:46 am
I am writing a python script that will act as a wrapper for... more »
|
|
inspect feature
On Oct 10, 3:36 am, Bruno Desthuilliers <bruno.
42.desthuilli...@websiteburo.invalidwrote:
It's not exactly the next Millennium problem, but there... more »
|
|
GzipFile(fileobj=sys.stdin) Why not?
Appears like a patch was submitted to allow GzipFile to work from
pipes long ago. But there's no comment on why this was never accepted.
Is there a... more »
|
|
Python Boot Camp 11/10-11/14
Anyone thinking about attending the Python Boot Camp at Big Nerd
Ranch? This is the time. If they don't get one more person they will
cancel the... more »
|
|
unified_diff
I can create a unified diff as follows:
udiff = difflib.unified_diff(text1, text2)
Is there an available function somewhere to apply udiff to text1... more »
|
|
How to do regular BASH work in Python?
Frantisek Malina wrote:
As others have said, the os and shutils modules should fulfill most of
your needs.
But unfortunately Python is definitely... more »
|
|
Wanted: something more Pythonic than _winreg.
On Oct 10, 9:44 am, Jonathan Fine <J.F...@open.ac.ukwrote:
I've used YARW before for nested deletion. It's a little... more »
|
|
a regular expression problem
I want to use django to dispatch url.
\W should be \w, a typo? :)
Try this:
r'(?u)^/test/(?P<q>\b\w+\b)/(?P<h>\d+)$'
if ?u doesn't work, try ?L.
I'm... more »
|
|
indexing arrays
John wrote:
The arrays in the numpy package are more sophisticated than the built-in
array package. This sort of thing works... more »
|
|