First  |  Prev |  Next  |  Last
Pages: 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343
Weird lambda rebinding/reassignment without me doing it
I am never redefining the or reassigning the list when using validate but since it spits the modified list back out that somehow means that the modified list is part of the environment and not the old one. i thought what happend inside a function stays inside a function meaning what comes out is independent of what... 13 Jul 2008 02:51
Automatic keyword argument source change?
Anyone know of a Python source code utility PSU, to automatically add keyword arguments to method calls that don't have them? : BEFORE def get_total(books, binders, hinges): return (binders.total + hinges.total - books.cost) def print_total(): print get_total(novels, covers, brackets) AFTER ..... 10 Jul 2008 08:14
B-Soup: broken iterator, tag a keyword?
Hi there, I have the following using Beautiful Soup: soup = BeautifulSoup(data) tags = soup.findAll(href=re.compile("/MER_FRS_L2_Canada/MER_FRS_\S +gz")) for tag in tags: print tag['href'] print tag.parent.nextSibling.string print tag.parent.nextSibling.nextSibling.string print tag.parent.nex... 11 Jul 2008 01:45
Graphics
hi all i am new to python programming a beginner. I Came to know from the groups that "How to think like a computer scientist" is preferable for begineers. i just looking through that i came to one section where a sample program for generation of graphics is present.i tried to copy the same script to the interpret... 11 Jul 2008 18:11
Fwd: [ANN] Genshi 0.5.1 released
We have put up eggs for various operating systems as well. ----- Forwarded message from Christopher Lenz <cmlenz(a)gmx.de> ----- From: Christopher Lenz <cmlenz(a)gmx.de> To: genshi(a)googlegroups.com Subject: [ANN] Genshi 0.5.1 released Date: Wed, 9 Jul 2008 21:44:11 +0200 X-Mailer: Apple Mail (2.926) Genshi 0... 10 Jul 2008 04:09
Impossible to change methods with special names of instancesof new-style classes?
samwyse a �crit : On Jul 8, 4:56 pm, Joseph Barillari <pyt...(a)barillari.org> wrote: My question is: did something about the way the special method names are implemented change for new-style classes? Just off the top of my head, I'd guess that it's due to classes already having a default __call_... 10 Jul 2008 04:09
ANN: Mac OS X versions of Rabbyt 0.81 - A fast 2D sprite engine usingOpenGL
Just a quick announcement, I have supplied PPC and Intel compiled eggs for the Rabbyt libary on Pypi http://pypi.python.org/pypi/Rabbyt/ Rabbyt-0.8.1-py2.5-macosx-10.3-ppc.egg (md5) Built on OS X 10.5.4 for PowerPC equipped Macs Rabbyt-0.8.1-py2.5-macosx-10.3-i386.egg (md5) Built on OS X 10.5.4 for Intel ... 10 Jul 2008 04:09
socket-module: different behaviour on windows / unix when a timeout is set
On 2008-07-09, Mirko Vogt <lists(a)nanl.de> wrote: Is that behaviour common or even documented? Found nothing. Second sentence in the socket module documentation: Note: Some behavior may be platform dependent, since calls are made to the operating system socket APIs. So yes, what you found is probably how it... 10 Jul 2008 03:08
python scalability
Hi All, I work on a desktop application that has been developed using python and GTK (see www.leapfrog3d.com). We have around 150k lines of python code (and 200k+ lines of C). We also have a new project manager with a C# background who has deep concerns about the scalability of python as our code base cont... 12 Jul 2008 03:22
error when porting C code to Python (bitwise manipulation)
I am trying to rewrite some C source code for a poker hand evaluator in Python. Putting aside all of the comments such as just using the C code, or using SWIG, etc. I have been having problems with my Python code not responding the same way as the C version. C verison: unsigned find_fast(unsigned u) { ... 10 Jul 2008 17:33
First  |  Prev |  Next  |  Last
Pages: 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343