First  |  Prev |  Next  |  Last
Pages: 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
Builtn super() function. How to use it with multiple inheritance? And why should I use it at all?
Steven D'Aprano wrote: super() is just as explicit as len(), or str.upper(). It says, explicitly, that it will call the method belonging to one or more superclass of the given class. That's not strictly true. It will call a method belonging to some class in the mro of self, but that class is not necess... 1 Aug 2010 05:08
combined functionality of ipython's %whos and pdb's next (without a resource heavy IDE)
On Jul 29, 12:39 pm, "Benjamin J. Racine" <bjrac...(a)glosten.com> wrote: I am trying to combine the ability to move line-by-line through the code as is done with pdb's "next" function with ipython's ability to list all variables at once... without the use of a full-fledged IDE. I am not seeing how this might b... 29 Jul 2010 21:47
Enabling/Disabling remote desktop - programmatically
I've already posted this in the Python W32 list, but didn't get what I'm looking for. I want to know how to disable Remote Desktop after logging to into a remote machine, to prevent subsequent logins by other users logging me out. I currently have a Windows XP system configured for coworkers to connect to ... 29 Jul 2010 21:47
Builtn super() function. How to use it with multipleinheritance?And why should I use it at all?
On Thu, 29 Jul 2010 19:29:24 +0200, Jean-Michel Pichavant wrote: Steven D'Aprano wrote: [snip] super() is just as explicit as len(), or str.upper(). It says, explicitly, that it will call the method belonging to one or more superclass of the given class. Come on Steven, you're better ... 1 Aug 2010 04:03
ANUSHKA HOT PICTURES FOR BOLLYWOOD FANS
ANUSHKA HOT PICTURES FOR BOLLYWOOD FANS ------------------------------------- http://sites.google.com/site/anushkaphotosalert ... 29 Jul 2010 19:35
combined functionality of ipython's %whos and pdb's next (without aresource heavy IDE)
I am trying to combine the ability to move line-by-line through the code as is done with pdb's "next" function with ipython's ability to list all variables at once... without the use of a full-fledged IDE. I am not seeing how this might be done. Many thanks for your help... Ben Racine... 29 Jul 2010 16:17
Tabular Package: importing file
On 7/28/10 4:57 PM, Robert Faryabi wrote: Hi there; I'm using Tabular Package for manipulating tab-delimited data. There is a small problem that I cannot get my head around it. When I construct my tabarray from file, the black fields are replaced by "nan". Does any one knows how to just keep them a... 29 Jul 2010 16:17
default behavior
Why is the default value of an int zero? x = int print x <type 'int'> x() 0 How do I build an "int1" type that has a default value of 1? [Hopefully no speed penalty.] I am thinking about applications with collections.defaultdict. What if I want to make a defaultdict of defaultdicts of list... 13 Aug 2010 02:45
Multiprocessing taking too much time
Hi All, I have a following situation. ==================PSUDO CODE START================== class holds_big_array:     big_array  #has a big array     def get_some_element(self, cond) # return some data from the array from the big array ==================PSUDO CODE END==================== I wanted to use multi... 29 Jul 2010 15:11
solving Tix problem in ubuntu jaunty
hi, recently I switched to ubuntu jaunty and installed python 2.6.I installed lib-tk so that I can work on my gui apps using Tix and Tkinter.But ,it seems that the python version in jaunty ships a buggy tix version which gives a 'TclError:unknown color' error message (this happens when I try to use FileSelectBox i... 30 Jul 2010 09:39
First  |  Prev |  Next  |  Last
Pages: 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35