I have .py file having following lines of code
import pandas
import sys
cwd = os.chdir("n:/user/factory")
random_date = '2019-08-20'
# dataframe created
df = pd.DataFrame()
df['salary_date'] = random_date
I want to run this .py file through windows command prompt and control the 'random_date' from command prompt as date parameter. For example, if I want to change the above mentioned date to '2017-01-20', it should be changeable from the command prompt and run the code.