So I created a module in PyCharm and it works great within PyCharm since PyCharm fixes the system path by running this code by itself:
import sys; print('Python %s on %s' % (sys.version, sys.platform))
sys.path.extend('D:\\Users\\rk\\projects\\GGM\\Code')
This means that I cannot run that module from a terminal since I am not extend the sys path in each and every script in that module. Is there a way to extend the system path like PyCharm for each and every script in that module in an automated way without having to do a bunch of sys.path.extend in every file.