check python codes