try python code snippet