python-mini-projects icon indicating copy to clipboard operation
python-mini-projects copied to clipboard

Problem with Updatelabel in CaptchaGenrator ....

Open sharad740 opened this issue 3 years ago • 0 comments

Description

In Captcha_Genrator.py , there is Function UpdateLabel() in refresh method . when i uncomment that line I did not got new captcha image while refresh btn is clicked . and after i uncommented this line as default , Program did not exited but with error image refresh successfully.

$ python Captcha_Genrator.py
Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Users\SYSTEM_FAILURE\AppData\Local\Programs\Python\Python310\lib\tkinter\__init__.py", line 1921, in __call__
    return self.func(*args)
  File "C:\Users\SYSTEM_FAILURE\Desktop\PythonScripts\SImpleProjects\python-mini-projects\projects\Captcha_Genrator\Captcha_Genrator.py", line 50, in refresh
    UpdateLabel()
NameError: name 'UpdateLabel' is not defined


  • [x] I have checked previous issues to avoid duplicates.
  • [x] This issue will be meaningful for the project.

sharad740 avatar Mar 19 '22 06:03 sharad740