Re: [BangPypers] Hi all

2008-06-09 Thread Pratap
ya sure ill do dat On 6/9/08, Rohan Sharma <[EMAIL PROTECTED]> wrote: > > Okay, cool. Continue experimenting and learning. > > On Mon, Jun 9, 2008 at 9:46 PM, Pratap <[EMAIL PROTECTED]> wrote: > > Hi > >I am tryin to make a database tool on python dats y ?are u online > > > > > > On 6/9/08, Ro

Re: [BangPypers] Hi all

2008-06-09 Thread Rohan Sharma
Okay, cool. Continue experimenting and learning. On Mon, Jun 9, 2008 at 9:46 PM, Pratap <[EMAIL PROTECTED]> wrote: > Hi >I am tryin to make a database tool on python dats y ?are u online > > > On 6/9/08, Rohan Sharma <[EMAIL PROTECTED]> wrote: >> >> Pratap: why exactly do you want to do this?

Re: [BangPypers] Hi all

2008-06-09 Thread Anush Shetty
On Mon, Jun 9, 2008 at 9:46 PM, Pratap <[EMAIL PROTECTED]> wrote: > Hi >I am tryin to make a database tool on python dats y ?are u online > It would be good if members could avoid using SMS lingo here. - Anush ___ BangPypers mailing list BangPypers

Re: [BangPypers] Hi all

2008-06-09 Thread Pratap
Hi I am tryin to make a database tool on python dats y ?are u online On 6/9/08, Rohan Sharma <[EMAIL PROTECTED]> wrote: > > Pratap: why exactly do you want to do this? > > On Mon, Jun 9, 2008 at 6:14 PM, Prashanth Ellina > <[EMAIL PROTECTED]> wrote: > > I misread your question. here is the cor

Re: [BangPypers] Hi all

2008-06-09 Thread Rohan Sharma
Pratap: why exactly do you want to do this? On Mon, Jun 9, 2008 at 6:14 PM, Prashanth Ellina <[EMAIL PROTECTED]> wrote: > I misread your question. here is the correct soln > > print ' and '.join(["x['%s'] = '%s'" % (l[i], l[i+1]) for i in xrange(0, > len(l), 2)]) > > On Mon, Jun 9, 2008 at 4:58 PM

Re: [BangPypers] Hi all

2008-06-09 Thread Prashanth Ellina
I misread your question. here is the correct soln print ' and '.join(["x['%s'] = '%s'" % (l[i], l[i+1]) for i in xrange(0, len(l), 2)]) On Mon, Jun 9, 2008 at 4:58 PM, Prashanth Ellina <[EMAIL PROTECTED]> wrote: > *l=['name','jhon', 'age','30']* > > print dict([(l[i], l[i+1]) for i in xrange(0,

Re: [BangPypers] Hi all

2008-06-09 Thread Prashanth Ellina
*l=['name','jhon', 'age','30']* print dict([(l[i], l[i+1]) for i in xrange(0, len(l), 2)]) On Mon, Jun 9, 2008 at 4:44 PM, Pratap <[EMAIL PROTECTED]> wrote: > *I'm fairly new to Python, and have yet to discover all the little details, > that may make my programs look leaner and perhaps become

[BangPypers] Hi all

2008-06-09 Thread Pratap
*I'm fairly new to Python, and have yet to discover all the little details, that may make my programs look leaner and perhaps become faster... I was trying to do a lots of thing and one of them is here which is as i have a list lists=['name','jhon', 'age','30'] and i want to make a string which is