latex file with python code