You can actually run python scripts from within pm2:
pm2 start echo.py
If the script ends in a .py suffix it will use a python interpreter by default. If your filename doesn’t end in .py you can do:
pm2 start echo --interpreter=python
I’ve found you have to be a little bit careful which python you are using, especially if you are using a virtualenv python with a different version to the ‘default’ python on your machine.