Changeset 352 for trunk/aeres/scripts/build_firstname_id.py
- Timestamp:
- 02/19/14 16:16:49 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/aeres/scripts/build_firstname_id.py
r325 r352 1 1 #!/usr/bin/env python 2 # -*- coding: iso-8859-1-*-2 # -*- coding: utf-8 -*- 3 3 4 4 """ … … 11 11 =========== 12 12 13 generation de la partie "prénom" de l'id : 14 - suppress blanks 15 - suppress punctation 16 - replace diacritals by their non-diacriticals equivalent (ie ï become i) 13 génération de la partie "prénom" de l'id : 14 15 - suppress blanks 16 - suppress punctation 17 - replace diacriticals by their non-diacriticals equivalent (ie ï become i) 17 18 18 19 SEE ALSO … … 28 29 cf. doctest 29 30 30 :: 31 .. code-block:: bash 31 32 32 33 python -v build_firstname_id 33 34 34 35 TODO … … 75 76 >>> firstname 76 77 [u' Ginette', u'Gin ette ', u"G\'in ette "] 77 >>> firstname.append(u"G ïnette")78 >>> firstname.append(u"Gïnette") 78 79 >>> firstname 79 80 [u' Ginette', u'Gin ette ', u"G'in ette ", u'G\xefnette'] … … 134 135 import sys 135 136 sys.exit(1) 136 137
Note: See TracChangeset
for help on using the changeset viewer.