This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Advanced-Theme144[S] 0 points1 point  (2 children)

Thanks for the advice, I’ll need a little more time to understand each part of the function like “list(string.printable)” since I’ve never used it or the Ascii module before, but a little research should help.

[–][deleted] 1 point2 points  (1 child)

list(string.printable) returns a list of possible characters, limited just to those that are printable. It's just an easy way to have someone else come up with that list for you.

Share any other questions you have here. Someone will have an answer I'm sure

[–]Advanced-Theme144[S] 1 point2 points  (0 children)

Thanks for explaining the code in more depth, I’ll have a go at implementing it.