Re: [Tutor] how i can change two lists into one directory

2010-07-23 Thread steve
On 07/23/2010 08:01 AM, Robert wrote: looks like this guy figured out how to send email in a loop User-Agent: Mutt/1.5.20 (2009-06-14) Or just discovered Mutt but hasn't figured out the keybindings yet. -- random spiel: http://lonetwin.net/ what i'm stumbling into: http://lonetwin.stumbleupo

Re: [Tutor] how i can change two lists into one directory

2010-07-22 Thread Robert
looks like this guy figured out how to send email in a loop ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] how i can change two lists into one directory

2010-07-22 Thread Luke Paireepinart
Hey quit spamming the list please. Sent from my iPhone On Jul 22, 2010, at 7:08 PM, Alex Hall wrote: > On 7/22/10, ANKUR AGGARWAL wrote: >> hey i have just started making a app using python and just gt a problem.. >> >> i have two list >> a=["x","z"] >> b=[1,2] >> >> i want to make a direct

Re: [Tutor] how i can change two lists into one directory

2010-07-22 Thread Steven D'Aprano
On Fri, 23 Jul 2010 09:51:37 am ANKUR AGGARWAL wrote: > hey i have just started making a app using python and just gt a > problem.. > > i have two list > a=["x","z"] > b=[1,2] > > i want to make a directory like this > c={"x":1,"z":2} The word you want is "dictionary" or "dict", not directory.

Re: [Tutor] how i can change two lists into one directory

2010-07-22 Thread bob gailer
On 7/22/2010 7:51 PM, ANKUR AGGARWAL wrote: hey i have just started making a app using python and just gt a problem.. i have two list a=["x","z"] b=[1,2] i want to make a directory like this Do you mean "dictionary"? c={"x":1,"z":2} is it possible Indeed. There are several ways to

Re: [Tutor] how i can change two lists into one directory

2010-07-22 Thread Alex Hall
On 7/22/10, ANKUR AGGARWAL wrote: > hey i have just started making a app using python and just gt a problem.. > > i have two list > a=["x","z"] > b=[1,2] > > i want to make a directory like this It is called a dictionary, actually. > c={"x":1,"z":2} > > is it possible i mean i tried it using

[Tutor] how i can change two lists into one directory

2010-07-22 Thread ANKUR AGGARWAL
hey i have just started making a app using python and just gt a problem.. i have two list a=["x","z"] b=[1,2] i want to make a directory like this c={"x":1,"z":2} is it possible i mean i tried it using loops and all but i cant append a directory so i m unable to do this... plz tell me if th