There are number of way to get historical Motherson Sumi Systems Stock price in python. you see code.
df = yf.download('MOTHERSUMI.NS',
start='2010-01-01',
end='2021-09-08',
adjusted=True,
progress=False)