In PyCharm, how could I pass some command lines results as script parameters ? For instance, on this screenshot, I would like to pass the result of date as parameter. Of course, this is an example. Actually I'm not looking for passing a date to my python script... So, how makes PyCharm compute parameters as $(my_command_line) before running the python script ?
date
$(my_command_line)
I saw I can use some macros as parameters (e.g., $ClipboardContent$). Perhaps the solution is to create a macro that calls a command line ?
$ClipboardContent$
2.1m questions
2.1m answers
60 comments
57.0k users