无法使用python2.6使用BeautifulSoup模块获取所有href链接

时间:2017-02-27 12:42:55

标签: python

from datetime import date

def calculate_age(born):
    today = date.today()
    return today.year - born.year - ((today.month, today.day) < (born.month,     born.day))

0 个答案:

没有答案