from password into python recognizable template