Sign In | Register Now About Bytes | Help | Site Map
Connecting Tech Pros Worldwide

Python

Discuss Python
September 9th, 2008 msquared (Administrator)
Python 2.5.3: call for patches
11 Replies | Posted by: =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?= | Last post by Terry Reedy, Today
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?
Post Reply? | Posted by: just.another.random.user@gmail.com | Last post by just.another.random.user@gmail.com, Today
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
Post Reply? | Posted by: Terry Reedy | Last post by Terry Reedy, Today
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
2 Replies | Posted by: brianrpsgt1 | Last post by brianrpsgt1, Today
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
4 Replies | Posted by: Gordon Allott | Last post by Gordon Allott, Today
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
10 Replies | Posted by: Thomas Heller | Last post by Terry Reedy, Today
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
Post Reply? | Posted by: nhwarriors | Last post by nhwarriors, Today
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.
Post Reply? | Posted by: Hatem Nassrat | Last post by Hatem Nassrat, Today
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?
Post Reply? | Posted by: Skip Montanaro | Last post by Skip Montanaro, Today
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?
Post Reply? | Posted by: Hatem Nassrat | Last post by Hatem Nassrat, Today
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?
Post Reply? | Posted by: Joe Strout | Last post by Joe Strout, Today
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.
Post Reply? | Posted by: Lie | Last post by Lie, Today
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
1 Reply | Posted by: Okko Willeboordse | Last post by Matimus, Today
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
1 Reply | Posted by: Robert Hancock | Last post by Wojtek Walczak, Today
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.
Post Reply? | Posted by: Lie | Last post by Lie, Today
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__
12 Replies | Posted by: kenneth | Last post by bearophileHUGS@lycos.com, Today
Chris Rebert: Okay, it can't be fixed then. Bye and thank you, bearophile more »
Subprocess problem on multiple OS's
Post Reply? | Posted by: Amanda Jamin | Last post by Amanda Jamin, Today
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
4 Replies | Posted by: Aaron \Castironpi\ Brady | Last post by Aaron \Castironpi\ Brady, Today
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?
Post Reply? | Posted by: Brian Cole | Last post by Brian Cole, Today
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
Post Reply? | Posted by: Kerri Reno | Last post by Kerri Reno, Today
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
Post Reply? | Posted by: Datasmith@gmail.com | Last post by Datasmith@gmail.com, Today
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?
5 Replies | Posted by: Frantisek Malina | Last post by Michael Torrie, Today
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.
2 Replies | Posted by: Jonathan Fine | Last post by Mike Driscoll, Today
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
2 Replies | Posted by: lookon | Last post by Leefurong, Today
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
2 Replies | Posted by: John [H2O] | Last post by Jeremy Sanders, Today
John wrote: The arrays in the numpy package are more sophisticated than the built-in array package. This sort of thing works... more »

Latest Articles: Read & Comment
  • Didn't find the answer you were looking for?
    Post Your Question
  • Top Community Contributors