Jewish Pirates of the Caribbean
Jewish Pirates of the Caribbean http://www.youtube.com/watch?v=cFSjKaiN47I&feature=related Python Jewish Pirates of the Caribbean Lisp (Jewish-Pirates Caribbean) I rcvd appreciative and supporting replies from many of you. The world is moving in the direction of the Biblical predictions. I agree to some ... 18 Jun 2010 13:32
[ANN] OpenOpt 0.29, FuncDesigner 0.19, DerApproximator 0.19
Hi all, I'm glad to inform you about new release of the free cross-platform (Linux, Windows, Mac etc) software (numerical optimization, linear/ nonlinear/ODE systems, automatic differentiation, etc), that is written in Python language and released quarterly since 2007. For more details see http://forum.openopt.... 16 Jun 2010 04:31
Overriding "__setattr__" of a module - possible?
Is it possible to override "__setattr__" of a module? I want to capture changes to global variables for debug purposes. None of the following seem to have any effect. modu.__setattr__ = myfn setattr(modu, "__setattr__", myfn) delattr(modu, "__setattr__") John Nagle ... 19 Jun 2010 16:44
Python editing .txt file
187braintrust(a)berkeley.edu wrote: I am trying to write a program in Python that will edit .txt log files that contain regression output from R. Any thoughts or suggestions would be greatly appreciated. To get an idea of what I am trying to do, note that I include fixed effects in the R regressi... 16 Jun 2010 19:55
Updating a module level shared dictionary
Vishal Rana wrote: Hi, A module level dictionary 'd' and is accessed by different threads/requests in a django web application. I need to update 'd' every minute with a new data and the process takes about 5 seconds. What could be best solution where I want the users to get either the old ... 16 Jun 2010 07:44
Why I have to do a deepcopy to the argument?
Hi! I am trying to understand Python's method of passing arguments, the references to objects etc. I fail to grasp why in populate_trie I have to make a deepcopy of trie locally instead of just referencing to it. If it makes any difference, I use Python 3. from copy import deepcopy def access_trie(d,... 16 Jun 2010 05:35
Scope (?) question
I am puzzled by what appears to be a scope issue - obviously I have something wrong :-) Why does this work: if __name__ == 'main': execfile('test-data.py') print data and yet this doesn't (I get "NameError: global name 'data' not defined"): def X(): execfile('test-data.py') print data where... 16 Jun 2010 08:50
Python Tkinter Linux Repair Question/ Python TCP Socket Example
I got to target my little GUI app that uses TCP sockets in Python 2.4.4 for Windows and Linux. Question 1 ========= Given the above, I installed 2.4.4 on Windows 7 and Tkinter import works like a charm. (the install is good) The Linux (Red Hat 4.1.2-46) though has python preinstalled with ver 2.4.4, but Tk... 16 Jun 2010 17:42
Introducing - Pyaudiogen
Hello list, Here's a little Python toy I've been hacking on, as I thought it might amuse some of you.  Python 3.1+ (not sure about 3.0) It's a package called 'audiogen' which includes bindings to libao for portable audio output and some functions/classes/... for generating audio. It grew from the idea that ... 15 Jun 2010 17:37
Possible to make subprocess.Popen jobs run serially rather thanin parallel?
On 6/15/10 11:52 AM, Chris Seberino wrote: Possible to make subprocess.Popen jobs run serially rather than in parallel? In other words, if a computer is low on memory and doesn't mind waiting.....can Popen be configured to submit to a queue and run jobs *ONE AT TIME*?? That might be useful and... 16 Jun 2010 13:14