Best Open Source Project?

2006-12-09 Thread pretoriano_2001
Look at a poll in this site: http://www.grupthink.com/topic/index.php5?id=821&page=1 regards. -- http://mail.python.org/mailman/listinfo/python-list

Re: Want to reduce steps of an operation with dictionaries

2006-10-25 Thread pretoriano_2001
Mike: Many thanks for your solution. It looks really nice. Mike Erickson wrote: > * [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: > > Hello: > > I have next dictionaries: > > a={'a':0, 'b':1, 'c':2, 'd':3} > > b={'a':0, 'c':1, 'd':2, 'e':3} > > I want to put in a new dictionary named c all the ke

Re: Want to reduce steps of an operation with dictionaries

2006-10-25 Thread pretoriano_2001
James: Your solution works for me, many, many thanks for your help and many thanks for the time, teaching and reflections I received from all the guys that participated in this thread. James Stroud wrote: > [EMAIL PROTECTED] wrote: > > Hello: > > I have next dictionaries: > > a={'a':0, 'b':1, 'c'

Want to reduce steps of an operation with dictionaries

2006-10-24 Thread pretoriano_2001
Hello: I have next dictionaries: a={'a':0, 'b':1, 'c':2, 'd':3} b={'a':0, 'c':1, 'd':2, 'e':3} I want to put in a new dictionary named c all the keys that are in b and re-sequence the values. The result I want is: c={'a':0, 'c':1, 'd':2} How can I do this with one line of instruction? I attempted

A question about list

2006-10-17 Thread pretoriano_2001
Hello: Variable 'a' has the next values: [[1,1],[2,2]] and I want to take a to b as: [[1,1,'='],[2,2,'=']] How can I do this with only one line of instruction? Thanks!! -- http://mail.python.org/mailman/listinfo/python-list

Re: Encode differences between idle python and python

2006-10-10 Thread pretoriano_2001
Gabriel, Peter: Many thanks for your clear answers!! Best regards. Vizcayno -- http://mail.python.org/mailman/listinfo/python-list

Encode differences between idle python and python

2006-10-09 Thread pretoriano_2001
Hello: Under win32 XP y select python command line and execute next code with results indicated: Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] on Type "help", "copyright", "credits" or "license" for more information. >>> u=u'áéíóú' >>> u u'\xe1\xe9\xed\xf3\xfa' >>> prin

.dll and .pyd

2006-07-26 Thread pretoriano_2001
Please, confirm me one thing. According to Python documentation for Windows the objects .pyd and .dll have the same characteristics. I observed that in Python24 it does not produce errors when importing xx.dll or xx.pyd, however in python25b2, it only accepts nto import xx.pyd. Best regards. -- h

Re: Which Pyton Book For Newbies?

2006-07-22 Thread pretoriano_2001
W. D. Allen wrote: > I want to write a retirement financial estimating program. Python was > suggested as the easiest language to use on Linux. I have some experience > programming in Basic but not in Python. > > I have two questions: > 1. What do I need to be able to make user GUIs for the progr

Re: Which Pyton Book For Newbies?

2006-07-22 Thread pretoriano_2001
W. D. Allen wrote: > I want to write a retirement financial estimating program. Python was > suggested as the easiest language to use on Linux. I have some experience > programming in Basic but not in Python. > > I have two questions: > 1. What do I need to be able to make user GUIs for the progr

Compiler for external modules for python

2006-07-22 Thread pretoriano_2001
Hello: I have interesting external modules that I want to incorporate to python 2.4.3 and python 2.5b2 also. Some of them requires C/C++ compiler. I work with Win XP Sp2 and have installed VC2005 express (I do not know if the compiler is the one with optimizing characterisitics), when trying to ins