random.sample with long int items

2006-04-12 Thread jordi
I need the random.sample functionality where the population grows up to long int items. Do you know how could I get this same functionality in another way? thanks in advance. Jordi -- http://mail.python.org/mailman/listinfo/python-list

Re: random.sample with long int items

2006-04-12 Thread jordi
That is just what I need. I did't mind on 'divide and conquer' :( Thanks a lot! -- Jordi -- http://mail.python.org/mailman/listinfo/python-list

Use of logging module to track TODOs

2013-11-27 Thread Jordi Riera
return 'DEVELOPMENT' in os.environ logging.setLoggerClass(TodoLogger) ___ (https://github.com/foutoucour/todologger/blob/master/logger.py) ___ The code is a first try. It needs updates and surely have weaknesses. I plan to have a JsonToMd translator pre-push hook. So each time a push is sent, a todo.md will be update with the new version of the json. fixme, note etc. might be easy added if needed. I would be interested to know your point of view on this. How do you do with your TODOs? Regards, Jordi -- https://mail.python.org/mailman/listinfo/python-list

Re: [GUI] Good frameworks for Windows/Mac?

2013-08-06 Thread Jordi Riera
Hey you can build GUIs with tkinter <http://wiki.python.org/moin/TkInter>. Easy but not as powerful than PyQt can be. I think it is os agnostic. Regards, Jordi On Tue, Aug 6, 2013 at 12:35 PM, Gilles wrote: > Hello > > I need to write a small GUI application that should run

Re: Can someone suggest better resources for learning sqlite3? I wanted to use the Python library but I don't know sql.

2013-08-06 Thread Jordi Riera
Hey, can't you use django to deal with your sqlite? If so, django models<https://docs.djangoproject.com/en/dev/topics/db/models/>are a smart way to do. Regards, Jordi On Tue, Aug 6, 2013 at 12:51 PM, Gilles wrote: > On Sat, 3 Aug 2013 10:57:32 -0700 (PDT), Aseem Bansal >

Re: Pylint 1.0 released

2013-08-06 Thread Jordi Riera
icWeb, the semantic web framework:http://www.cubicweb.org > -- > http://mail.python.org/mailman/listinfo/python-list > -- - Jordi Riera, Connecting people. +33 662217507 -- http://mail.python.org/mailman/listinfo/python-list

Re: Class hierarchy problem

2013-08-06 Thread Jordi Riera
verse-of-a-django-manytomany-relationship Regards Jordi On Tue, Aug 6, 2013 at 5:36 PM, BrJohan wrote: > On 06/08/2013 16:02, Chris Angelico wrote: > > My classhierarchy is like a multilevel tree where each non-leaf node >>> (class) >>> is given knowledge about its nea

Re: Want to learn Python

2013-08-15 Thread Jordi Riera
> > Thanks, > > Premkumar you should give a try to codecademy.com. The approach of teaching programming language is new and really efficient. Regards, JOrdi -- http://mail.python.org/mailman/listinfo/python-list

Re: debian python2.4

2004-12-02 Thread Jordi Romero (qiz/jrom)
Just remove /usr/bin/python and make a new soft link to the /usr/bin/python2.4 (ln -s /usr/bin/python2.4 /usr/bin/python) Jonas Galvez wrote: km wrote: Only downside is that /usr/bin/python still points to 2.3.4. Haven't figured out how to change that, but I am also afraid it would break mod_p