Run Button Command Line Change without using Debugger #24109
Unanswered
ovannoteumich
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to be able to write the output of any python script to a text file with the same name and filepath as the python script, but changing the .py to a .out or something (it helps me feel better about my file organization) automatically when using the run button to run the code. I saw #20380, and I was able to get it running using the launch.json file below, but I was wondering if people knew a way to get this same results without having to even initialize the debugger, which I would prefer to have on a different profile (removed from this launch.json file) normally.
launch.json
My initial thoughts are to just make a branch myself and add that like half a line of code, but I was unable to find the section of the code that this command is stored in. If anyone has any better ways to approach this, or knows where I can edit that command, please let me know.
Beta Was this translation helpful? Give feedback.
All reactions