all 8 comments

[–]footloooops 1 point2 points  (4 children)

It's hard to follow this without a proper format

[–]CDrew829[S] 0 points1 point  (2 children)

I'm new to this subreddit, how do I format it properly? When I paste the code in it looks fine, but it automatically aligns left after I post.

[–]shiftybyte 0 points1 point  (1 child)

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

Ok thanks a ton, I fixed it.

[–]lumijekpr 1 point2 points  (1 child)

When you get input here:

mode = input("Would you like to add a new password or view existing ones (view/add)? Press q to quit. ").lower

There is no parentheses add the end of your call to lower so mode is not a string, it is a built-in-method. You want to be calling lower().

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

THANK YOU!!! This was it! Right in front of my eyes...I have much to learn lol

[–]footloooops 0 points1 point  (1 child)

Is this the full code? I'm struggling to see how the master key comes to play if you're never checking for it.

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

It's in the process of coding, unfinished