Re: [BangPypers] List compression imrpovement

2013-01-08 Thread vijay
i want to use only list compression to get solution like the way you see i share solutions. Basically one line solution . From: Gora Mohanty To: Bangalore Python Users Group - India Sent: Wednesday, 9 January 2013 1:20 PM Subject: Re: [BangPypers] List compr

Re: [BangPypers] List compression improvement

2013-01-08 Thread vijay
Corrected subject spell  From: vijay To: Bangalore Python Users Group - India Sent: Wednesday, 9 January 2013 1:11 PM Subject: [BangPypers] List compression imrpovement Hi,    I want to know if there is any other better way for improving below list compress

Re: [BangPypers] List compression imrpovement

2013-01-08 Thread Gora Mohanty
On 9 January 2013 13:11, vijay wrote: > Hi, >I want to know if there is any other better way for improving below list > compression. I have to use list compression only to achieve it. > >say i have list a=[1, 4, 9, 12, 15, 21] expected result (4, 12), (9, 12, > 15, 21) It would help i

[BangPypers] List compression imrpovement

2013-01-08 Thread vijay
Hi,    I want to know if there is any other better way for improving below list compression. I have to use list compression only to achieve it.    say i have list   a=[1, 4, 9, 12, 15, 21] expected result (4, 12), (9, 12, 15, 21)  few solutions are   1) [filter(None, l) for l in zip(*[(x if x %

Re: [BangPypers] [OT] Introducing myself

2013-01-08 Thread स्वक्ष
On Tue, Jan 8, 2013 at 11:55 PM, Jonathan Toomim wrote: > > If I have the time, I wouldn't mind holding a workshop or two. Svaksha, are > you mostly interested in learning how to do the electrical engineering > stuff, or did you want a workshop on the uses of HEG itself? Both, it would be awesome

Re: [BangPypers] [OT] Introducing myself

2013-01-08 Thread Hrishikesh Kulkarni
Jonathan, We welcome your decision to move to Bangalore. This place is buzzing with ideas and entrepreneurs. More global cerebral and cultural mix would make it more exciting. Sharing a bit of my experience. I looked around for a shared working space for my startup in South Bangalore. Many suffer

Re: [BangPypers] [OT] Introducing myself

2013-01-08 Thread Pradeep Banavara
Not sure about IISc's friendliness to foreign nationals but there's no harm in asking. You can contact CS Murali who runs the incubation center and see if there's a fit. -pradeep On Tue, Jan 8, 2013 at 11:55 PM, Jonathan Toomim wrote: > Thanks everyone for the advice and offers of assistance. >

Re: [BangPypers] [OT] Introducing myself

2013-01-08 Thread Jonathan Toomim
Thanks everyone for the advice and offers of assistance. When I looked at the website of CIS a few weeks ago, it appeared to me to be more of a think tank/news organization than a hackerspace. It sounds like that impression was false. Thanks for the tip, I'll check it out. If I have the time

Re: [BangPypers] [OT] Introducing myself

2013-01-08 Thread Sidu Ponnappa
Jonathan, you're always welcome to drop by the C42 Engineering office and chat us up. One of my colleagues, like you, has moved here from Canada, so maybe a conversation with him would be helpful. I'm personally not a big fan of shared workspaces in Bangalore, but I'll defer to the others on the l