Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#591·python-mini-projects

Problem with Updatelabel in CaptchaGenrator ....

Author: sharad740Created Mar 19, 2022Updated Mar 19, 2022

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

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

Source: Python-World/python-mini-projects

View original on GitHubView discussion on GitHub