Python-World / python-mini-projects

A collection of simple python mini projects to enhance your python skills

Home Page:https://python-world.github.io/python-mini-projects/#/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem with Updatelabel in CaptchaGenrator ....

sharad740 opened this issue · 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


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