Hey Jagat, following test script shows how to fetch value/text from a textbox using python selenium webdriver:
from selenium import webdriver
driver = webdriver.Firefox(executable_path=r"C:\Users\Abha_Rathour\Downloads\geckodriver\geckodriver.exe")
driver.implicitly_wait(2)
driver.maximize_window()
driver.get("https://www.gmail.com")
driver.find_element_by_id('identifierId').send_keys('abc.def@gmail.com')
text1 = driver.find_element_by_id('identifierId').get_property('value')
print(text1)