Try python code