Error en Python (El prgama funciona correctamente) #4174
Replies: 1 comment
-
Este es el código de programa: fila = deque([]) def comprobar(): def entrada(): def salida(): def vaciar_fila(): ventana = tk.Tk() boton_salida = tk.Button(ventana, text="SALIDA", command=salida) label_pila = tk.Label(ventana, text="La pila está vacía", width=40, bg="white") boton_entrada = tk.Button(ventana, text="ENTRADA", command=entrada) boton_vaciar_fila = tk.Button(ventana, text="VACIAR LA FILA", width=40, command=vaciar_fila ) ventana.mainloop() |
Beta Was this translation helpful? Give feedback.
-
Se produjo un error. Informa de este error indicando los detalles que tienes a continuación.
Informe de GitHub: https://github.com/lzybkr/PSReadLine/issues/new
Últimas 107 claves:
& Space C : / U s e r s / p m v e r / A p p D a t a / L o c a l / P r o g r a m s / P y t h o n / P y t h o n 3 1 2 / p y t h o n . e x e Space " d : / U l t i m a t e Space P y t h o n / S i m u l a c i o n F i l a . p y " Enter
Excepción:
System.ArgumentOutOfRangeException: El valor debe ser mayor que o igual a cero y menor que el tamaño de búfer de consola en dicha dimensión.
Nombre del parámetro: left
Valor actual -2.
en System.Console.SetCursorPosition(Int32 left, Int32 top)
en Microsoft.PowerShell.Internal.VirtualTerminal.set_CursorLeft(Int32 value)
en Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
en Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
en Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
en Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable
1 key, Object arg) en Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary
2 dispatchTable, Boolean ignoreIfNoAction, Object arg)en Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
en Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)
Beta Was this translation helpful? Give feedback.
All reactions