Commit 46509d4c by Juan

se cambia el limite de columnas a 600

1 parent d75fa993
......@@ -8,3 +8,24 @@ def encodear(archivo):
nombre = nombre[1]
r = { "Archivo": encoded.decode('ascii'), "Nombre": nombre, "Tipo": mime }
return(r)
__COLUMNA = ("A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K",
"L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "Y", "Z")
def COLUMNA():
columna = []
for Letra in __COLUMNA:
columna.append(Letra)
for Letra in __COLUMNA:
for letra in __COLUMNA:
X = Letra + letra
columna.append(X)
return(columna)
def ColumnaTamaño():
KEYs = COLUMNA()
listado = {}
for key in KEYs:
listado[key] = 12
return(listado)
\ No newline at end of file
from Libmod import funciones
import xlsxwriter
import time
class Reporte():
COLUMNA = ("A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K",
"L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "Y", "Z")
anchos = {"A": 12, "B": 12, "C" :12, "D": 12, "E": 12, "F": 12,
"G": 12, "H": 12 , "I": 12, "J": 12, "K": 12,"L": 12, "M": 12,
"N": 12, "O": 12, "P": 12, "Q": 12, "R": 12, "S": 12, "T": 12,
"U": 12, "V": 12, "Y": 12, "Z": 12}
COLUMNA = funciones.COLUMNA()
anchos = funciones.ColumnaTamaño()
def __init__(self):
self.fecha = time.strftime("%y%m%d")
......@@ -54,7 +50,7 @@ class Reporte():
self.alto = str(n)
def __ajuste__(self):
Pn = self.ancho + self.alto
#Pn = self.ancho + self.alto
#print(Pn)
for columna in Reporte.anchos.keys():
a = Reporte.anchos[columna]
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!