add python code to tex