chiark / gitweb /
improved handling of ordinary numbers and description of relations
[familyTree.git] / familyTree / printYearBorn.py
1 #!/usr/bin/python
2
3 import askQuestion
4 import sys      
5
6
7 conn = askQuestion.connect()
8
9
10 if len(sys.argv) < 2:
11         o = askQuestion.find_year_born(1,'\n')
12 else:   
13      for i in range(1,len(sys.argv)):
14         o = askQuestion.find_year_born(sys.argv[i],'\n')
15
16
17 print o
18 askQuestion.close(conn)