Avatar ·

Hiding the login and password in the Python code

📁 python, вопрос

How can you encrypt a login with a password in the code itself? Well, or in any other way, to make it possible to get them to other people, since the code itself should be open and accessible for viewing other people.

  Conn = PYMYSQL.ConNNET ( HOST =  "" xxc.ru "" ,  port =  3306 ,  user = ,  password =  "" password "" ,  db =  "test" ",  charset =  )  

is there any point in using in this case in this case how in the question?