Re: IDE+hg

2009-11-27 Thread NiklasRTZ
welcome continue python (naturally not java:) less wind and less komdo since the 2 are unavailible, or I add button to drPython,Eric,Boa,PIDA alternatively oldschool emacs for this all natural function you make so difficult. -- http://mail.python.org/mailman/listinfo/python-list

Re: IDE+hg

2009-11-26 Thread NiklasRTZ
On Nov 24, 4:09 pm, rustom wrote: > On Nov 24, 8:13 pm, Richard Riley wrote: > > > > > Gerhard Häring writes: > > > Rhodri James wrote: > > >> On Mon, 23 Nov 2009 19:20:27 -, NiklasRTZ wrote: > > > >>> Dear experts, > > >

Re: IDE+hg

2009-11-26 Thread NiklasRTZ
On Nov 24, 5:47 pm, "Günther Dietrich" wrote: > NiklasRTZ wrote: > >Since no py IDE I found has easy hg access. > > Obviously, you didn't try Eclipse with PyDev (<http://www.pydev.org>) > and Mercurial Eclipse (<http://www.vectrace.com/mercurialeclips

Re: IDE+hg

2009-11-26 Thread NiklasRTZ
On Nov 25, 7:28 am, alex23 wrote: > NiklasRTZ wrote: > > no py IDE I found has easy hg access. > > ActiveState's Komodo IDE has support for CVS, Perforce, subversion, > bazaar, git and mercurial. unavailable via synaptic ubuntu karmic repos, presuming its commercial

Re: IDE+hg

2009-11-25 Thread NiklasRTZ
On Nov 24, 3:13 pm, Richard Riley wrote: > Gerhard Häring writes: > > Rhodri James wrote: > >> On Mon, 23 Nov 2009 19:20:27 -, NiklasRTZ wrote: > > >>> Dear experts, > >>> Since no py IDE I found has easy hg access. IDEs PIDA and Eric claim >

Re: IDE+hg

2009-11-25 Thread NiklasRTZ
On Nov 24, 2:35 pm, Gerhard Häring wrote: > Rhodri James wrote: > > On Mon, 23 Nov 2009 19:20:27 -, NiklasRTZ wrote: > > >> Dear experts, > >> Since no py IDE I found has easy hg access. IDEs PIDA and Eric claim > >> Mercurial support not found i.

Re: IDE+hg

2009-11-25 Thread NiklasRTZ
On Nov 23, 11:37 pm, "Rhodri James" wrote: > On Mon, 23 Nov 2009 19:20:27 -0000, NiklasRTZ wrote: > > Dear experts, > > Since no py IDE I found has easy hg access. IDEs PIDA and Eric claim > > Mercurial support not found i.e. buttons to clone, commit and push to

IDE+hg

2009-11-23 Thread NiklasRTZ
Dear experts, Since no py IDE I found has easy hg access. IDEs PIDA and Eric claim Mercurial support not found i.e. buttons to clone, commit and push to repositories to define dev env dvcs, editor and deployment all in 1. I tested Boa Constructor, dr Python, Eric and PIDA none of which has other th

Re: The rap against "while True:" loops

2009-10-20 Thread NiklasRTZ
On Oct 19, 2:51 am, Hendrik van Rooyen wrote: > On Sunday, 18 October 2009 11:31:19 Paul Rubin wrote: > > > Hendrik van Rooyen writes: > > > Standard Python idiom: > > > > if key in d: > > >   d[key] += value > > > else: > > >   d[key] = value > > > The issue is that uses two lookups.  If that's

Re: The rap against "while True:" loops

2009-10-18 Thread NiklasRTZ
Russ P. wrote: > On Oct 10, 1:15pm, kj wrote: > > I'm coaching a group of biologists on basic Python scripting. One > > of my charges mentioned that he had come across the advice never > > to use loops beginning with "while True". Of course, that's one > > way to start an infinite loop, but thi

datetime.datetime. or datetime. ?

2009-10-08 Thread NiklasRTZ
Hello, my basic question is which recommendation is after slight restructuring datetime.datetime to datetime Both works but only one should be chosen probably adjust my package to comply to dependencies. Spec integrated code where datetime.datetime.now() refactored to datetime.now() set rather from

Re: The longest word

2009-07-28 Thread NiklasRTZ
There were 3 solutions. Everybody's homework is someone's "what's this?" max('asdasfd faop29v8 asejrhjhw awg5w35g aw3g5aw3g kajhsdkfhlskjdhfakljsdhf awg3 aw3'.split(), key=len) sorted("a AAA aa a sdfsdfsdfsdf vv".split(' '),key=len)[-1] sorted("a AAA aa a vv".split(' '),lambda a,b: len

Re: The longest word

2009-07-28 Thread NiklasRTZ
On Jul 28, 7:03 am, Hrvoje Niksic wrote: > Piet van Oostrum writes: > > >>>>>> NiklasRTZ (N) wrote: > > >>N> Thank you. This seems to work: > >>N> sorted("a AAA aa a  sdfsdfsdfsdf vv".split(' '),lambda a,b: len(a)- &

Re: The longest word

2009-07-28 Thread NiklasRTZ
On Jul 28, 5:02 am, Bearophile wrote: > On Jul 28, 10:26 am, NiklasRTZ wrote: > > > Newbie hello onwards to the .py manual asks meantime how the longest > > word gets determined? > > First word, ok > >  'a aa aaa aa'[:'a aa aaa aa'.find(' &#

The longest word

2009-07-28 Thread NiklasRTZ
Newbie hello onwards to the .py manual asks meantime how the longest word gets determined? First word, ok 'a aa aaa aa'[:'a aa aaa aa'.find(' ',1,10)] 'a' rfind is another subset >>> 'a aa aaa aa'[:'a aa aaa aa'.rfind(' ',1,10)] 'a aa aaa' One row should be able. It's a direct word 'a aa aaa...' a