plaintext = input(\"Please enter the text you want to compress\") filename = input(\"Please enter the desired filename\")
>>> s = bytes("s","utf-8") >>> print(s) b's' >>> s = s.decode("utf-8") >>> print(s) s
Well if useful for you in case removing annoying 'b' character.If anyone got better idea please suggest me or feel free to edit me anytime in here.I'm just newbie