I am trying to learn PyCharm, need to pass an environment variable as a command line parameter to my process, e.g. execute an equivalent of myScript.py -u $myVar
myScript.py -u $myVar
Go to Edit configurations > Environment variables. Add or edit.