Nov-19-2022, 06:23 AM
(Nov-18-2022, 11:19 PM)Yoriz Wrote: TheButton
code looks liketkinter
it showsMap
as being the code called on a button press,
but the definition ofMap
is not shown in any of the code.
The rest of the code shown is PyQt you should not mix a tkinter Button with PyQt.
Can you please show more complete code including the imports.
import csv from tkinter import * from tkinter import ttk from tkinter import ttk, filedialog from tkinter import messagebox import pymysql from tkcalendar import DateEntry import os from datetime import datetime from PyQt5.QtWidgets import QApplication, QWidget, QHBoxLayout, QVBoxLayout from PyQt5.QtWebEngineWidgets import QWebEngineView # pip install PyQtWebEngine from cmath import pi from math import radians, cos, sin, sqrt, degrees, asin, atan2, acos import folium import sys import io import babel.numbersindeed the rest is made with tkinter