Python Question: Year and Day of Year to date?

I have a year value and a day of year and would like to convert to a date (day/month/year).


datetime.datetime(year, 1, 1) + datetime.timedelta(days - 1)

>>> import datetime
>>> datetime.datetime.strptime('2010 120', '%Y %j')
datetime.datetime(2010, 4, 30, 0, 0)
>>> _.strftime('%d/%m/%Y')
'30/04/2010'