How can I use Run / Debug configuration from PyCharm with parameter using regular expression ? For exemple, I would like to grep all
.txt files using
*.txt, like the following configurations, but it doesn’t interpret the
* as a regex. :
However, when I run it directly from the terminal and not from the PyCharm Run button, it interpret the
* as a regex.
python main.py *.txt
Source: Python Questions