Created
July 28, 2022 18:03
-
-
Save josinovmota/f01d7477f73e782e628b791f7b2387e2 to your computer and use it in GitHub Desktop.
asdasd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
principal = {'titulos': []} | |
for match_titulo in FIND_TITLE.finditer(cf): | |
titulo_identificador = { 'titulo_identificador': match_titulo.group('titulo_numero')} | |
principal['titulos'].append(titulo_identificador) | |
for match_capitulo in FIND_CHAPTER.finditer(str(match_titulo)): | |
capitulo_identificador = { 'capitulo_identificador': match_capitulo.group('capitulo_numero')} | |
principal['titulos'].append(capitulo_identificador) | |
principal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment