Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
194 views
in Technique[技术] by (71.8m points)

PyCharm - Shell command line result as script parameter

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 ?

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 ?

question from:https://stackoverflow.com/questions/65602882/pycharm-shell-command-line-result-as-script-parameter

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...