Timeline for Executing python script or code using \input not working
Current License: CC BY-SA 4.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 15, 2023 at 16:05 | vote | accept | Charlie | ||
| Sep 15, 2023 at 16:05 | comment | added | Charlie | Thanks for your answer. I tried your solution and it works, but I can't really understand why it won't work as in @DavidCarlisle's answer. I will be marking this as solved, until I get new updates. | |
| Sep 15, 2023 at 8:15 | comment | added | David Carlisle | \documentclass{article} \begin{document} a\input{|python3 -c 'print(1+2)'}b a\input{|python3 script.py}b \end{document} | |
| Sep 15, 2023 at 6:14 | comment | added | David Carlisle | it works with latex input as well | |
| Sep 15, 2023 at 6:13 | history | answered | Daniel Diniz | CC BY-SA 4.0 |