python code settings