Changeset 353 for trunk/aeres/scripts
- Timestamp:
- 04/01/14 15:38:14 (10 years ago)
- Location:
- trunk/aeres/scripts
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/aeres/scripts/aeresrh.py
r352 r353 68 68 publication (retraite, décÚs, mutation) 69 69 70 test with real file (encoding, fran cais, etc)70 test with real file (encoding, français, etc) 71 71 72 72 missing values … … 200 200 print('titlerow : %d ' % (titlerow)) 201 201 202 # deduce first useful lrow202 # deduce first useful row 203 203 firstrow = titlerow + 1 204 204 # … … 260 260 print(' temp arrival AAA%sAAA' % temp[rownum]) 261 261 if temp[rownum] == '': 262 print('eee : pas de date arriv ee colonne %d ' % rownum)262 print('eee : pas de date arrivée colonne %d ' % rownum) 263 263 else: 264 264 arrival.append(datetime.datetime(*xlrd.xldate_as_tuple(temp[rownum], datemode))) -
trunk/aeres/scripts/build_firstname_id.py
r352 r353 14 14 15 15 - suppress blanks 16 - suppress punct ation16 - suppress punctuation 17 17 - replace diacriticals by their non-diacriticals equivalent (ie ï become i) 18 18 … … 105 105 #print ('iii : item avant sup blancs %s ' % (item)) 106 106 item_noblanks = re.sub(u' ',u'',item) 107 #print ('iii : item apr es sup blancs %s ' % (item_noblanks))107 #print ('iii : item aprÚs sup blancs %s ' % (item_noblanks)) 108 108 firstname_noblanks.append(item_noblanks) 109 109 … … 116 116 #print ('iii : item avant lower %s ' % (item)) 117 117 item_lower = item.lower() 118 #print ('iii : item apr es lower %s ' % (item_lower))118 #print ('iii : item aprÚs lower %s ' % (item_lower)) 119 119 firstname_lower.append(item_lower) 120 120 -
trunk/aeres/scripts/build_surname_id.py
r352 r353 12 12 13 13 generation de la partie "nom" de l'id 14 - suppress blanks 15 - suppress punctation 16 - replace diacriticals by their non-diacriticals equivalent (ie ï become i) 17 - uppercase every characters 14 15 - suppress blanks 16 - suppress punctuation 17 - replace diacriticals by their non-diacriticals equivalent (ie ï become i) 18 - uppercase every characters 18 19 19 20 SEE ALSO -
trunk/aeres/scripts/define_loceanaffectation.py
r352 r353 51 51 52 52 - search in bibtex file (in loceanaffectation field) 53 - give a element of HTML filename (no diacritical and no punct ation)53 - give a element of HTML filename (no diacritical and no punctuation) 54 54 55 55 TODO 56 56 ==== 57 57 58 automation of no diacritical and no punct ation transformation58 automation of no diacritical and no punctuation transformation 59 59 60 60 dictionary instead of list -
trunk/aeres/scripts/ldap_biblio.py
r352 r353 184 184 185 185 if is_verbose == True: 186 # pour voir la derni ere personne ajoutée186 # pour voir la derniÚre personne ajoutée 187 187 print values_for_all[-1] 188 188 189 # populate dict onary189 # populate dictionary 190 190 people = dict(itertools.izip(keys_for_all, values_for_all)) 191 191
Note: See TracChangeset
for help on using the changeset viewer.