Skip to content

Tag: keyerror

KeyError: ‘…’ keeps coming back

I keep getting the error and can’t find where the problem lies. I’m trying so I can choose wether I want the attack the creature or both printed and what type the creature is: ‘easy’, ‘medium’ or ‘hard’, I want to store that into a variable. Thanks in advance An…

Hack with Rainbow method: getting the KeyError

I’m trying to find some passwords using the Rainbow method. I have a CSV file containing people’s names and their hashed passwords using SHA-256. I have to retrieve the original passwords which are four-digit numbers [1000-9999]. The CSV file: My code: When I run the code, following error appears:…

Data Dragon items, keyError

so ive run into a problem where i cant get acces to they key in riot json file. http://ddragon.leagueoflegends.com/cdn/11.16.1/data/en_US/item.json this is official riot link which u can find on their riot api site under Items. if you write this: it gives back all the values If you write this: it gives back t…

KeyError for multiframe tkinter?

I keep getting a KeyError and I am unsure why. I added a print statement and printed the self.frames dict to ensure that the keys existed, and it appears they do. I’m new to using classes to create multi frame apps so any insight would be helpful. The error: The dict that prints: The code where the erro…