private python code