@nazokiyoubinbou @mcc FWIW people often recommend using python -m because it ensures that you're running code from whatever (virtual or system) #Python environment is currently activated, whereas if you run an entry point directly, like just pdm, you might be running a script that happens to be on your PATH but which does not live in the active environment. I do think it's a useful recommendation in most cases to help people avoid accidentally running things from the wrong environment.
Stuff installed with pipx is the exception, of course, because you specifically *don't* want to run it from whatever env is currently activated. (In a sense pipx is made to provide you with the illusion that a Python program is a regular old executable that you drop into PATH, i.e. you don't have to know or care that it is written in Python and you can just run it the same way as anything else.)