Hi harsh, you can use ActionChains() class to perform any mouse or keyboard action. You can double click on a web element using these lines of code:
driver.get("https://edureka.co");
element_to_double_click = driver.find_element_by_xpath("//div[@class='container no-padding-xs hidden-xs']//h2[contains(text(),'Trending Courses')]")
actions = ActionChains(driver)
actions.double_click(element_to_double_click)
# perform the operation on the element
actions.perform()