Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clase para acomodar de forma automatica xmls para facil lectura o almace... #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

omar7c1
Copy link

@omar7c1 omar7c1 commented Mar 20, 2015

Agrege una nueva clase para acomodar los XMLs por carpetas
Les dejo un ejemplo de como acomodar las carpetas de forma automatica

#!/usr/bin/env python
import os

#Acomodando archivos
from AcomodaXML import AcomodaXML
servicio = AcomodaXML('/home/omar/xmlOrigen/', '/home/omar/xmlDestino/')
servicio.ordenar("@receptorRFC@-@receptorNombre@"+os.sep+"@ano@"+os.sep+"@mes@"+os.sep+"@emisorRFC@-@emisorNombre@"+os.sep+"@[email protected]")

@jjlopez
Copy link
Owner

jjlopez commented Mar 20, 2015

Muy bien!

Lo reviso para hacer la mezcla.

Saludos!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants