Horje
get last year of today python Code Example
get last year of today python
import datetime
from dateutil.relativedelta import relativedelta

last_year = (datetime.datetime.now()-relativedelta(years=1)).strftime("%Y-%m-%d")




Python

Related
pandas create column from another column Code Example pandas create column from another column Code Example
timedelta year python Code Example timedelta year python Code Example
matplotlib 3.0.3 wheel file Code Example matplotlib 3.0.3 wheel file Code Example
how to add input box in tkinter Code Example how to add input box in tkinter Code Example
pca python Code Example pca python Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
6