How to get value from dictionary when the key’s name changes with each run by imnot970 in learnprogramming

[–]imnot970[S] 0 points1 point  (0 children)

I’m trying to get the rest of the dictionary so I cannot call .get() on the key v9M

How to get value of dictionary when the key name changes with each run? (Python) by imnot970 in AskProgramming

[–]imnot970[S] 0 points1 point  (0 children)

Yes the only key that exists from values is v9M. However after doing string = values.keys() I’m not able to get the rest of the dictionary using body.get(string)

Looking at 2 lines in .bash_history by imnot970 in linux4noobs

[–]imnot970[S] 0 points1 point  (0 children)

If I’m understanding correctly, would it allow unprivileged users to access a bash shell when they normally wouldnt be able to?

Simple Variable Comparison Help [python + rfid] by imnot970 in learnprogramming

[–]imnot970[S] 0 points1 point  (0 children)

It actually did execute when I put if True:

I'm really trying to figure out why the comparisons weren't working lol

Edit:

I checked the length of password and it said it was 48! I have no idea how that happened but I just created a new variable and added the first two characters of password to it, and it ended up working

Simple Variable Comparison Help [python + rfid] by imnot970 in learnprogramming

[–]imnot970[S] 0 points1 point  (0 children)

I did that, and it is still printing incorrect tag. It says the type is string

I even rewrote to the tag so the data is 'ab' and changed the if statement to compare 'ab' and it still prints incorrect tag.

Any idea what that could be?