[BangPypers] Hi all

shan anandh shan_anandh at yahoo.co.in
Sun Jun 15 09:52:16 CEST 2008


A database tool ...
have you defined any design goals for that ? 


----- Original Message ----
From: Pratap <pratap.iiit at gmail.com>
To: Bangalore Python Users Group - India <bangpypers at python.org>
Sent: Monday, 9 June, 2008 9:55:01 PM
Subject: Re: [BangPypers] Hi all

ya sure ill do dat 


On 6/9/08, Rohan Sharma <gates.plusplus at gmail.com> wrote: 
Okay, cool. Continue experimenting and learning.

On Mon, Jun 9, 2008 at 9:46 PM, Pratap <pratap.iiit at gmail.com> wrote:
> Hi
>    I am tryin to make a database tool on python dats y ?are u online
>
>
> On 6/9/08, Rohan Sharma <gates.plusplus at gmail.com> wrote:
>>
>> Pratap: why exactly do you want to do this?
>>
>> On Mon, Jun 9, 2008 at 6:14 PM, Prashanth Ellina
>> <prashanthellina at gmail.com> 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, Prashanth Ellina
>> > <prashanthellina at gmail.com>
>> > wrote:
>> >>
>> >> 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 <pratap.iiit at gmail.com> 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  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 like
>> >>> string="x['name']='jhon' and x['age']=30"
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> so is it possible in python ?
>> >>>
>> >>> _______________________________________________
>> >>> BangPypers mailing list
>> >>> BangPypers at python.org
>> >>> http://mail.python.org/mailman/listinfo/bangpypers
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >> http://blog.prashanthellina.com
>> >
>> >
>> > --
>> > http://blog.prashanthellina.com
>> > _______________________________________________
>> > BangPypers mailing list
>> > BangPypers at python.org
>> > http://mail.python.org/mailman/listinfo/bangpypers
>> >
>> >
>> _______________________________________________
>> BangPypers mailing list
>> BangPypers at python.org
>> http://mail.python.org/mailman/listinfo/bangpypers
>
>
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>
>
_______________________________________________
BangPypers mailing list
BangPypers at python.org
http://mail.python.org/mailman/listinfo/bangpypers


      Best Jokes, Best Friends, Best Food and more. Go to http://in.promos.yahoo.com/groups/bestofyahoo/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/bangpypers/attachments/20080615/1df32c96/attachment.htm>


More information about the BangPypers mailing list