Mark Edgington <edgimar <at> gmail.com> writes: > Anyhow, something that wasn't clear to me about your example is how you make > the filename which is generated via org-babel-temp-file available for use > within the code-block?
Babel takes care of that (plantuml interprets the :file argument as the name of the file it should generate). I'm not sure the best way to get the file name in to a Python block. You could probably pass the generated name in as a :var parmater.