> -----Original Message----- >[...] > I have a file like this one: > > command = func_babara > parameter_1 = 300 > parameter_2 = 300 > parameter_3 = 50 > parameter_4 = 0 > parameter_5 = 0 > parameter_6 = 0 > > > ,as you see, i need to process it one line at a time and use > this .ini file as a configuration file. >
Take a look at the ConfigParser module. It can read ini files easily. Mike _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor