#๐ rate my crappy password manager i built in 2 hours
34 messages ยท Page 1 of 1 (latest)
@tulip ingot
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
invalid link, did you forget to copy the last character?
I do have to ask first: do you aware this shouldn't be use in real life because the password are unprotected with encryption and can be easily visible to other user/application with access to the file system (basically every application in the user space
ok, just make sure you are aware
i wasnt planning on releasing it anywhere
maybe if i learn encryption or learn how to store the passwords in a db
I mean not as release but using it personally
i.e. you shouldn't store any of your real password there
Except exception
Bad, catchinganyexception is not a good idea, catchInputErroror whatever may be raised there;
deletepassword, findpasswords, ..
Not PEP-8 compliant; adding_->delete_passwordincreases readability;
On a side note: there is definitely better way to get list of all english letters than just list them as ['a', 'b', ..] :
>>> import string
>>> string.ascii_letters
'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
>>> string.ascii_lowercase
'abcdefghijklmnopqrstuvwxyz'
>>> list(string.ascii_lowercase)
['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z']
it should have the ability to generate other character in 3 states
1 NONE -> Would not generate
2 MAYBE -> Could generate
3 MUST -> Must generate and regenerate password if the password doesn't contain
and this should apply to capital letter, number and special character seperately
the exception one is useful thanks. im not planning on making the thing opensource
wdym by this
Exception:
line 19: ValueError instead
line 40: Current: ValueError, would not error if no conversion of integer is used (which from the code, is not necessary)
line 56: No error
line 68: No error
line 82: No error
line 92: Current: ValueError, would not error if no conversion of integer is used (which from the code, is not necessary)
generate different kind of password by user (application) requirement
oh ok
(this excluded error from missing IO input (e.g. EOFError), which should just raise an error because it just shouldn't work
im trying to add capital letters and istead of typing out the whole uppercase list im doinga for loop
which isnt working
i need to add this too ye
?
:white_check_mark: Your 3.12 eval job has completed with return code 0.
['a', 'b', 'c', 'd', 'e', 'f', 'g', 'i', 'j', 'k', 'l', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z']
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.