python 从身份证中获取生日,年龄,性别信息

class GetInformation(object): def __init__(self,id): self.id = id self.birth_year = int(self.id[6:10]) self.birth_month = int(self.id[10:12]) self.birth_day =
相关文章
相关标签/搜索