Re: Python-libnjb on macosx

2005-02-10 Thread Christian Dieterich
On Déardaoin, Feabh 10, 2005, at 18:08 America/Chicago, Robert Kern wrote: Timothy Grant wrote: I was working on some things that use Glenn Strong's excellent libnjb wrapper on my Linux box. I have since bought a PowerBook and have been trying to get everything working correctly under OS/X. This

PyINI : Cross-Platform INI parser

2005-02-10 Thread SeSe
hi, every one, I started a opensource project PyINI for corss-platform *.ini parsing at http://sourceforge.net/projects/pyini/ I have released a simple alpha version, which can read *.ini, with some extended features such as key=value1,value2,value3. I also made a c++ binding to PyINI with elmer

Re: a sequence question

2005-02-10 Thread David Isaac
Nick Coghlan [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Using zip(*[iter(l)]*N) or zip(*(iter(l),)*N) simply extends the above to the general case. Clearly true. But can you please go into much more detail for a newbie? I see that [iter(l)]*N produces an N element list with each

Re: Unit Testing in Python

2005-02-10 Thread rhat
Tom Willis wrote: It could be a bug in gmail. I wasn't actually accusing you, just thought it was funny enough to point out. Of course you could be more sarcastic than me who knows. :) I'm not worried though. I believe the best strategy against Identity theft is bad credit. So question ,

Re: Unit Testing in Python

2005-02-10 Thread rhat
I actually meant to link to the last two ONLamp articles you mentioned, so yeah I have seen those (kinda forgot to post them, in fact). Thanks for the other links too, they look pretty interesting. Incidentally, what kind of projects are you guys (planning on) using this technology with? I'm

Re: convert list of tuples into several lists

2005-02-10 Thread Pierre Quentel
Steven Bethard a écrit : Cappy2112 wrote: What does the leading * do? Tells Python to use the following iterable as the (remainder of the) argument list: Could someone explain why this doesn't work : Python 2.3.2 (#49, Oct 2 2003, 20:02:00) [MSC v.1200 32 bit (Intel)] on win32 Type help,

Re: [perl-python] combinatorics fun

2005-02-10 Thread Xah Lee
David Eppstein's code is very nice. Here's the python version of the perl code: ©# -*- coding: utf-8 -*- ©# Python © ©def combo (n): ©'''returns all possible (unordered) pairs out of n numbers 1 to n. © ©Returns a dictionary. The keys are of the form n,m, ©and their values are

Re: convert list of tuples into several lists

2005-02-10 Thread Stephen Thorne
On Fri, 11 Feb 2005 07:35:43 +0100, Pierre Quentel [EMAIL PROTECTED] wrote: Steven Bethard a écrit : Cappy2112 wrote: What does the leading * do? Tells Python to use the following iterable as the (remainder of the) argument list: Could someone explain why this doesn't work :

Re: Python v.s. c++

2005-02-10 Thread suryaprakashg
xiaobin yang wrote: Hi, if i am already skillful with c++. Is it useful to learn python? thanks! Defenitly , It is much easier to convert an idea to a living model easily in python and with out much effort . You can always mix things with C++ and python ( for optimization or whatever)with

Re: goto, cls, wait commands

2005-02-10 Thread James
On Windows, I use WConio http://newcenturycomputers.net/projects/wconio.html It provides other screen functions you might have gotten used to in QBasic as well. On unix/cygwin, use curses. I am not aware of any portable library though. I used to use cls a lot in my QBasic days. Now I just

Re: implementing singleton class at the module level

2005-02-10 Thread Michele Simionato
A Singleton class is there to be inherited from; a singleton instance like the one you define is pretty much useless (unless I misunderstand your intentions). Michele Simionato -- http://mail.python.org/mailman/listinfo/python-list

Re: ActivePython 2.3.5.236 and ActivePython 2.4.0.244 are available

2005-02-10 Thread mep
ActivePython-2.4.0-243-win32-ix86.msi : 29M ActivePython-2.4.0-244-win32-ix86.msi : 18M What make so much difference of the size of them, which distinct monir version number for 1 only. Any explaination? -- Best Regards, Wang Kebo http://www.huihoo.org/~mep Trent Mick [EMAIL PROTECTED]

[ python-Bugs-1119331 ] curses.initscr - initscr exit w/o env(TERM) set

2005-02-10 Thread SourceForge.net
Bugs item #1119331, was opened at 2005-02-09 14:51 Message generated for change (Comment added) made by mwh You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1119331group_id=5470 Category: Python Library Group: None Status: Open Resolution: None Priority: 5

[ python-Bugs-1119331 ] curses.initscr - initscr exit w/o env(TERM) set

2005-02-10 Thread SourceForge.net
Bugs item #1119331, was opened at 2005-02-09 08:51 Message generated for change (Comment added) made by jrlilly You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1119331group_id=5470 Category: Python Library Group: None Status: Open Resolution: None

[ python-Bugs-1120452 ] Python 2.4.0 crashes with a segfault, EXAMPLE ATTACHED

2005-02-10 Thread SourceForge.net
Bugs item #1120452, was opened at 2005-02-11 01:04 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1120452group_id=5470 Category: Python Interpreter Core Group: Python 2.4 Status:

[ python-Feature Requests-1087418 ] long int bitwise ops speedup (patch included)

2005-02-10 Thread SourceForge.net
Feature Requests item #1087418, was opened at 2004-12-18 00:22 Message generated for change (Comment added) made by gregsmith You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=355470aid=1087418group_id=5470 Category: None Group: None Status: Open Resolution: None

<    1   2   3