I want to write a program that sends an e-mail to one or more specified recipients when a certain event occurs. For this I need the user to write the parameters for the mail server into a config. Possible values are for example: serveradress, ports, ssl(true/false) and a list of desired recipients.
Whats the user-friendliest/best-practice way to do this?
I could of course use a python file with the correct parameters and the user has to fill it out, but I wouldn't consider this user friendly. I also read about the 'config' module in python, but it seems to me that it's made for creating config files on its own, and not to have users fill the files out themselves.
I doesn't matter technically proficient your users are; you can count on them to screw up editing a text file.  (They'll save it in the wrong place. They'll use MS Word to edit a text file.  They'll make typos.)  I suggest making a gui that validates the input and creates the configuration file in the correct format and location.  A simple gui created in Tkinter would probably fit your needs.
Userfriendly way of handling config files in python?