Re: Help me write better Code

2014-07-10 Thread sssdevelop
Mark - thank you so much. You have suggested be new best tool/module. It's going to help me many places. Was not aware of such powerful tool. thank you, On Wednesday, July 9, 2014 9:14:01 PM UTC+5:30, Mark Lawrence wrote: > On 09/07/2014 15:27, sssdevelop wrote: >

Re: Help me write better Code

2014-07-10 Thread sssdevelop
thank you so much! On Wednesday, July 9, 2014 11:46:41 PM UTC+5:30, Ian wrote: > On Wed, Jul 9, 2014 at 8:27 AM, sssdevelop wrote: > > > prev = 0 > > > blocks = [] > > > tmp = [] > > > last = 0 > > > for element in a: > > >if p

Re: Help me write better Code

2014-07-10 Thread sssdevelop
Thank you so much Terry Jan Reedy. You have given best advice - yup, i am beginner in Python. Your reply has done grooming :) thx, On Thursday, July 10, 2014 12:16:48 AM UTC+5:30, Terry Reedy wrote: > On 7/9/2014 10:27 AM, sssdevelop wrote: > > > Hello, > > > >

Help me write better Code

2014-07-09 Thread sssdevelop
Hello, I have working code - but looking for better/improved code. Better coding practices, better algorithm :) Problem: Given sequence of increasing integers, print blocks of consecutive integers. Example: Input: [10, 11, 12, 15] Output: [10, 11, 12] Input: [51, 53, 55, 67, 68, 91, 92, 9

Re: Alternatives to Splunk?

2013-02-09 Thread sssdevelop
, Rodrick Brown wrote: > On Sat, Feb 9, 2013 at 7:27 AM, sssdevelop wrote: > > > > Are there any opensource alternatives to Splunk? > > Need tool to analyze the log files.. > > > > > > This is highly off topic, however I'm us

Alternatives to Splunk?

2013-02-09 Thread sssdevelop
Are there any opensource alternatives to Splunk? Need tool to analyze the log files.. -- http://mail.python.org/mailman/listinfo/python-list