Python

Python Pip Downgrade Package

December 16, 2017

Python Pip List All Installed Packages And Version

December 14, 2017 ∙ pip list

Get Href Of Element With Selenium Python

October 2, 2017 ∙ .get_attribute(“href”)

Get Text Of Element With Selenium Python

October 2, 2017 ∙ .text

Find Parent Of Element With Selenium Python

October 2, 2017 ∙ find_element_by_xpath(“..”)

Find Element By Text With Selenium Python

October 2, 2017

Python Get Current Date & Time

September 4, 2017 ∙ datetime.datetime.now()

Python Concat String

August 9, 2017 ∙ Format string, join list or append string.

Python Regex Match

August 9, 2017 ∙ Use re.search

Python Regex Partial Replace

August 9, 2017 ∙ Use capture group and reference: re.sub(r”(match)(replace)“, r”\1new”, string)