how to change cd in cmd through pycharm code example Example: open pycharm from terminal pycharm-community .