Perhaps this will do what you want? When I run org-babel-tangle on the following org file, and then LaTeX the output, the resulting pdf file says: A bit of LATEX code, with the result: 6* Test org#+begin_src pythonx = 6f = open('python_results.tex', 'w')f.write(str(x))f.close()#+end_src#+resname:: None#+begin_src latex :tangle test_arg_passing\documentclass{article}\begin{document}A bit of \LaTeX code, with the result: \input{python_results}\end{document}#+end_srcHTH,Tom