First  |  Prev |  Next  |  Last
Pages: 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174
Improved timedelta attributes/methods
2010/3/26 Christian Ştefănescu <st.chris(a)>: Hello dear Python-wielding developers! I generally like date/time handling in Python very much, especially how date operations result in Timedelta objects. But I find it somewhat impractical, that you can only get days, seconds and microseconds out o... 26 Mar 2010 04:40
Question regarding curses and text-input methods
I am trying to use Python curses.textpad to get (preferably UTF-8 but not needed) input from the user in a python curses application, but I realize that it is extremely limited and doesn't allow me to specify an existing text to edit. Also it doesn't seem to provide scrolling abilities on the window. Is this at ... 26 Mar 2010 03:35
Automatic import ?
Hi everyone, I'm currently coding a C library which provides several modules and objects. Let's say that some of these objects are classes called AAA and BBB. The constructor of AAA needs to get BBB as argument. So I can run the following code : from mymodule import AAA from mymodule import BBB a = AA... 10 Apr 2010 14:36
Don't understand behavior; instance form a class in another class'instance
Hi all, When I run the following snippet (drastically simplified, to just show what I mean): import platform, sys class One(object): def __init__(self): = True def change(self): = False class Two(object): def __init__(self): self._inst... 25 Mar 2010 22:00
Create a class at run-time
Hi everyone, I'm trying to dynamically create a class. What I need is to define a class, add methods to it and later instantiate this class. Methods need to be bound to the instance though, and that's my problem. Here is what I have so far: method_template = "def test_foo(self):\ #actual test_foo\ pa... 26 Mar 2010 17:53
Revisiting Generators and Subgenerators
Here's my proposal again, but hopefully with better formatting so you can read it easier. -Winston ----------------- Proposal for a new Generator Syntax in Python 3K-- A Baton object for generators to allow subfunction to yield, and to make them symetric. Abstract -------- Generators can be used t... 26 Mar 2010 19:10
Repetition of work in Jython
Andrey Fedorov wrote: Hi all, So from what I understand, Jython translates Python code into JVM byte code. Does anyone know why this was chosen instead of translating Python bytecode to JVM bytecode directly? It seems that it would be a lot easier to get Jython up-to-speed if there could be some "sha... 25 Mar 2010 14:57
ANN: ActivePython and are now available
We are pleased to announce the availability of both ActivePython and ActivePython Here is what you should know about these two releases: PyWin32: PyWin32 is now included in the 64-bit & Python3 builds! Since we recently updated our PyWin32 source ... 25 Mar 2010 13:46
nested threading
is there anything as "nested threading"....that is, call a thread from within a thread. in this case how will thread locking take place. for example initially there were two functions that were called using threading.Thread. these wont get unlocked unless both of them are done with whatever they need to do. if s... 9 Apr 2010 20:05
Advanced Python Programming Oxford Lectures [was: Re: *Advanced* Python book?]
On Mar 25, 1:28 pm, Ethan Furman <et...(a)> wrote: Michele, Was wondering if you'd had a chance to re-post your lectures -- just did a search for them and came up empty, and I would love to read them! Many thanks in advance! Oops, I forgot! I will try to make them available soon. ... 27 Mar 2010 02:15
First  |  Prev |  Next  |  Last
Pages: 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174