Re: [BangPypers] [OT] Git training course

2011-10-20 Thread Noufal Ibrahim
Hello everyone, There are few more seats left for the course. If anyone here uses git or is interested in starting, do sign up and join us this weekend. The registration link is at http://git-training.doattend.com/ Thanks. Noufal Ibrahim writes: > Hello everyone, > Th

[BangPypers] [X-POST] [Announcement] SciPy India 2011 Call for Presentations

2011-10-20 Thread Puneeth Chaganti
Forwarding FYI. -- Puneeth -- Forwarded message -- From: Parth Buch Date: Mon, Oct 3, 2011 at 9:18 PM Subject: [MumPy] [Announcement] SciPy India 2011 Call for Presentations To: null-co...@googlegroups.com, mu...@googlegroups.com === SciPy 2011 India

[BangPypers] Generate Dynamic lists

2011-10-20 Thread Asif Jamadar
So I'm trying to generate dynamic choices for django form. Here i'm usig formset concept (CODE is mentioned below) Suppose i have list called criteria_list = ['education', 'know how', 'managerial', 'interpersonal', ] now i need to generate choices as follows list1 = [('education', 1), (

Re: [BangPypers] Generate Dynamic lists

2011-10-20 Thread Gora Mohanty
On Fri, Oct 21, 2011 at 12:10 AM, Asif Jamadar wrote: > So I'm trying to generate dynamic choices for  django form. Here i'm usig > formset concept (CODE is mentioned below) Sorry, but your examples do not quite make sense, at least not to me. Your Django example is too confused, and has at leas

Re: [BangPypers] Generate Dynamic lists

2011-10-20 Thread Gora Mohanty
On Fri, Oct 21, 2011 at 12:38 AM, Gora Mohanty wrote: > On Fri, Oct 21, 2011 at 12:10 AM, Asif Jamadar > wrote: [...] > list1 = [] > for i in criteria_list[:2]: >    for j in range(4): >        l.append( ( i, j + 1 ) ) Oops, that last line should be list1.append(...) instead of l.append(...) R

[BangPypers] Fwd: [Announcement] SciPy India 2011 Call for Presentations

2011-10-20 Thread Parth Buch
=== SciPy 2011 India Call for Papers === The third `SciPy India Conference `_ will be held from December 4th through the 7th at the `Indian Institute of Technology, Bombay (IITB) `_ in Mumbai, Maharash

Re: [BangPypers] Generate Dynamic lists

2011-10-20 Thread Saager Mhatre
On Fri, Oct 21, 2011 at 12:40 AM, Gora Mohanty wrote: > On Fri, Oct 21, 2011 at 12:38 AM, Gora Mohanty wrote: > > On Fri, Oct 21, 2011 at 12:10 AM, Asif Jamadar > wrote: > [...] > > list1 = [] > > for i in criteria_list[:2]: > >for j in range(4): > >l.append( ( i, j + 1 ) ) > > Oops