On 2018-06-27, Abdur-Rahmaan Janhangeer <arj.pyt...@gmail.com> wrote: > what is more recommended and why? using configparser for settings or import > variables from file?
Importing variables from a file is dangerous because it can execute arbitrary code. It should never be done with files provided by the user. Using configparser is far, far safer. -- Grant Edwards grant.b.edwards Yow! Psychoanalysis?? at I thought this was a nude gmail.com rap session!!! -- https://mail.python.org/mailman/listinfo/python-list