The way pam_python operates will be foreign to most Python programmers. It embeds Python into existing programs, primarily ones written in C. This means some things, like debugging and diagnostics, are done differently to a normal Python program.