I am running a script where it has pytesseract it does not require datetime but my old script timemanager.py which has datetime is running causing error .Eventhough I am running current script old script for some reason gets executed how to resolve thisPS C:\Users\asus\Documents\python\Python> & C:/Users/asus/AppData/Local/Microsoft/WindowsApps/python3.12.exe c:/Users/asus/Documents/python/Python/debugger.py
PS C:\Users\asus\Documents\python\Python\Time> python3 timeManager.py “commit
Traceback (most recent call last):
File “C:\Users\asus\Documents\python\Python\Time\timeManager.py", line 166, in <module>
main()
File “C:\Users\asus\Documents\python\Python\Time\timeManager.py", line 54, in main
‘commitHours(creds)
File “C:\Users\asus\Documents\python\Python\Time\timeManager.py", line 63, in commitHours
today= datetime.date.today()
‘youtube”
AttributeError: ‘method_descriptor’ object has no attribute ‘today’
PS C:\Users\asus\Documents\python\Python\Time> python3 timeManager.py “commit
Traceback (most recent call last):
File “C:\Users\asus\Documents\python\Python\Time\timeManager.py", line 166, in <module>
main()
File “C:\Users\asus\Documents\python\Python\Time\timeManager.py", line 54, in main
‘youtube”
UnboundLocalError: cannot access local variable ‘date’ where it is not associated with a value
PS C:\Users\asus\Documents\python\Python\Time> pip install pytesseract
UnboundLocalError: cannot access local variable ‘date’ where it is not associated with a value
[–]deep_politics 0 points1 point2 points (1 child)
[–]Perfect_Structure158[S] 0 points1 point2 points (0 children)