First  |  Prev |  Next  |  Last
Pages: 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149
py3 tkinter Text accepts what bytes?
Hello, I stumbled upon this one while porting some of my programs to Python 3.1. The program receives messages from a socket and displays them in a tkinter Text. Works fine in Python 2 and Python 3.1. The problems arrived when I wanted to know the details... First surprise: Text.insert accepts not only str b... 23 Apr 2010 17:31
Windows debugging symbols for python 2.5.4 and pywin32 214
On Friday 23 April 2010 08:36:01 Mark Hammond wrote: On 22/04/2010 7:23 AM, Alexandre Fayolle wrote: Hi everyone, I have a production server running a Windows Service written in Python, which uses python 2.5.4 (yes I know it is old, but I am somewhat stuck with this for now) and pywin32 214.... 23 Apr 2010 20:48
Smtpd module
I would like to use smtpd module to write very simple smtp server but this server must: 1. accept several connections at the same time( like a forking server) 2. have basic authentication that is it must understand AUTH command. Does anyone know if the smtpd module have both? Thanks Ba. ... 23 Apr 2010 20:48
question about an exciting gotcha for unittests (and elsewhere) ...
I've run into a problem unittesting something I'm writing. I have a little node tracking class I'm using to track items and attributes. An item is a "Node" object, and the collection is a "NodeDB". So I'm writing some unittests, thus: class Node(dict): [...] class NodeDB(dic): [...] class Backend(ob... 23 Apr 2010 17:30
Hi, friends. I wanna ask if there is a function which is able totake a list as argument and then return its top-k maximums?
On Thu, 22 Apr 2010 15:23:29 +0100, D'Arcy J.M. Cain <darcy(a)druid.net> wrote: On Fri, 23 Apr 2010 00:07:18 +1000 Xavier Ho <contact(a)xavierho.com> wrote: print (sorted (l, reverse=True)[:k]) You don't really need to reverse sort there: True but... numbers = [1, 4, 5, 3, 7, 8] ... 23 Apr 2010 17:30
Calling multiple programs with subprocess
How does one go about calling multiple programs using subprocess? This is the program flow: C:\> wrenv.exe C:\> make clean ... ... The 'wrenv.exe' is necessary since it sets up the proper environment for building. How do I use subprocess to execute 'wrenv.exe' and then the 'make clean' command. Any h... 30 Apr 2010 17:24
Download Proprietary Microsoft Products Now
On 4/21/10 7:59 PM, Lawrence D'Oliveiro wrote: In message<mailman.1949.1271443668.23598.python-list(a)python.org>, "Martin v. Löwis" wrote: Brian Blais wrote: On Apr 12, 2010, at 16:36 , Martin v. Loewis is wrote: If you are planning to build Python extension modules in the next five ... 30 Apr 2010 20:45
Accessing Twitter with Python (Python goes mainstream)
I have noticed Python appearing in various news stories lately and treated as a mainstream language, as one not needing explanation, just like Java, etc. http://arstechnica.com/open-source/guides/2010/04/tutorial-use-twitters-new-real-time-stream-api-in-python.ars is a nice tutorial on how to use Python (and ... 23 Apr 2010 17:30
Hi, friends. I wanna ask if there is a function which is ableto take a list as argument and then return its top-k maximums?
On Thu, 22 Apr 2010 15:04:01 +0100 Tim Golden <mail(a)timgolden.me.uk> wrote: So please tell me if there is one or not. I really need this soon. Appreciate a lot. Assuming top-k doesn't mean something obscurely statistical: You really shouldn't do people's homework for them. It doesn't do them any ... 23 Apr 2010 20:48
Tkinter question
James Mills wrote: On Wed, Apr 21, 2010 at 8:45 PM, Rotwang <sg552(a)hotmail.co.uk> wrote: [...] From reading the documentation myself (pydoc)... It would seem your only option is to make a thread out of this (not my preferred way - I was hoping it was possible to poll the Tk event syst... 23 Apr 2010 20:48
First  |  Prev |  Next  |  Last
Pages: 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149