Open ahmadhwetat opened 5 months ago
can you give us a code, minimized version that reproduces this problem so we can try our selfs? without code we can't do anything, since most of us don't have this error. edit: also more infor would be awesome, which os, libraries? what have you done? etc???
can you give us a code, minimized version that reproduces this problem so we can try our selfs? without code we can't do anything, since most of us don't have this error. edit: also more infor would be awesome, which os, libraries? what have you done? etc???
sure ,
def logiin():
con = sqlite3.connect("CadetsNew.db")
cr = con.cursor()
find_user = ('SELECT * FROM cadets WHERE phone_number = ? and name = ?')
cr.execute(find_user, [(uservar.get()), (passvar.get())])
result = cr.fetchall()
open_choice_panel_through_main_panel())
loginbtn = ctk.CTkButton(login, text="sign", fg_color=btnc, bg_color="white",hover_color=bgc, text_color=ftcl,height=45 ,width=255,corner_radius=30, font=('Simplified Arabic bold', 15), command=logiin).place(x=185, y=520)
libraries i used
import csv
from tkinter import *
from tkinter import ttk
from tkinter import messagebox
from tkinter import filedialog
import sqlite3
import io
from PIL import ImageTk, Image
import pandas as pd
import customtkinter as ctk
when i click at button , the button is working but the console show that mistake