Hi Ravi. Why don't use the class ConfigParser, for save your config.
http://docs.python.org/release/2.6.7/library/configparser.html?highlight=configparser#ConfigParser.ConfigParser Best Regards. Craf >-----Mensaje original----- >De: ravi ravi <[email protected]> >Para: [email protected] >Asunto: [pygtk] importing list from another python file >Fecha: Wed, 26 Oct 2011 00:42:55 +0100 (BST) > > >Hello all, >I am using python and pygtk to create a GUI. I am storing all the >values that are to be displayed, in a list. >--> The values are calculated and stored in a list in the first file >--> The list is imported in to the second file which is GUI >file(contains gtk.main()) by using IMPORT statement. >problem: >The list is continuously appended in the first file, but this does not >reflect when imported in to the second file. The second file only shows >an empty list. I need to get an updated list in my GUI file.Please help >me out T>hank you, >Ravindra Nagireddy _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/ _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
