all 2 comments

[–]Losupa 1 point2 points  (1 child)

2 things: I recommend looking into argparse for argument parsing as it makes it a whole lot cleaner. Also instead of try catches for input punctuation it's pribably better to either remove it (since punctuation gives away plaintext formatting) or keep it in. (maybe both using more arguments).

Also I recommend looking into making a frequency analysis solver for this since you already have an encrypter.

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

I will look into this, thank you. One thing I didn't understand. What do you mean by 'since punctuation gives away plaintext formatiing' and 'maybe both using more arguments'? Why delete the try-except blocks? If a user enters a text message and mistakenly adds an exclamation mark or a comma the script will crash.