On 09:48:56 Nov 19, Ashok Gautham wrote:
> Prologue:
>    * I am hacking together an application. I need to store a list of some
> files in one program.
> 

Example? What are you trying to achieve? I get an idea but more 
clarity will definitely help.

>    * Another program must read this list and perform some actions.
> 

You mean file I/O?

>    * The files can be of three  different categories. I use separate lists
> while computing these.

You need not have separate semantics for them. Just naming them
different would do.

>       I need to recover them as separate lists too.
> 

Just use plain old text files and file I/O. ;)

Or use FIFOs using mkfifo(1).

>    * I am using Python at the moment for this.

Python has different methods to achieve this and I hardly ever use
python unfortunately. I certainly love the language no doubt but never
wrapped my head around it.

However perl can trivially do what I mention.

I think you can create a python dictionary/tuple from files?

Perhaps someone more knowledgeable can help.

Best of luck!

-Girish
_______________________________________________
To unsubscribe, email [EMAIL PROTECTED] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to