Re: read file to a dictionary

2007-05-24 Thread Gabriel Genellina
En Thu, 24 May 2007 05:08:57 -0300, rohit <[EMAIL PROTECTED]> escribió: > ohh i think i forgot to include intricate details > in dictionary i use the following: > value: name of a file existing on disk > Key : a unique number assigned to each file ,with no. assigned in > increasing order to file

Re: read file to a dictionary

2007-05-24 Thread rohit
ohh i think i forgot to include intricate details in dictionary i use the following: value: name of a file existing on disk Key : a unique number assigned to each file ,with no. assigned in increasing order to file appearing earlier in the "english dictionary" thanks rohit -- http://mail.python.o

Re: read file to a dictionary

2007-05-23 Thread 7stud
On May 23, 6:46 pm, James Stroud <[EMAIL PROTECTED]> wrote: lol -- http://mail.python.org/mailman/listinfo/python-list

Re: read file to a dictionary

2007-05-23 Thread James Stroud
rohit wrote: > i want to implement a dictionary in python > the query is : > without explicitly doing the following steps > 1. reading from file to list > 2. processing list to dictionary > is there a module or a built in function that helps me "read" a file > directly into a dictionary > or any m

Re: read file to a dictionary

2007-05-23 Thread Larry Bates
rohit wrote: > i want to implement a dictionary in python > the query is : > without explicitly doing the following steps > 1. reading from file to list > 2. processing list to dictionary > is there a module or a built in function that helps me "read" a file > directly into a dictionary > or any m

read file to a dictionary

2007-05-23 Thread rohit
i want to implement a dictionary in python the query is : without explicitly doing the following steps 1. reading from file to list 2. processing list to dictionary is there a module or a built in function that helps me "read" a file directly into a dictionary or any module that implements the abo