andompesta / MassiveDataAnal

0 stars 0 forks source link

configuration file #4

Open manoet opened 10 years ago

manoet commented 10 years ago

I would suggest to create a configuration file in which the user can store the paths to tweets and news, in order to avoid to type them everytime. I had already used a simple library which allows to use .ini files as configuration. The library is called "configparser" and is very very easy to used (it reads the ini file and stores the values inside a 2-level dictionary)

paolomorettin commented 10 years ago

per me va bene, ma serve veramente aggiungere un'altra libreria per fare una cosa simile?

manoet commented 10 years ago

la configparser e' interna al linguaggio a partire da python 2.3, quindi non c'e' bisogno di alcuna installazione