How can I write to the file and then read it?
Suppose there is a line 1 in the file "Password". When you start the program asks for a password and when you enter what is written in the settings file, the program performs the actions further. (I have already done this), but I still need to ask the user what OS he is after entering (naturally correct). And after the answer, Suppose 1. Win XP 2. Win 7, etc. The second line was written to the file, for example, User OS = Win XP, Win 7, etc. And after the answer, certain actions related to the OS were performed. Suppose if the value User OS = Win XP then the win_xp_init () function is executed. Which displays the message Hello user on the Windows xp. Sorry forgot forgot to add to Python 2.7