Closed jonyscathe closed 7 months ago
I think it actually should just be a raw string, where the backslash doesn't have any special meaning:
symbols_set = set(r"""!#\$%&'()*+,-./:;"@[]^_`{|}~>?= """)
Thanks very much for pointing this out, it should be fixed in tksheet version 6.3.4
I think it actually should just be a raw string, where the backslash doesn't have any special meaning:
symbols_set = set(r"""!#\$%&'()*+,-./:;"@[]^_`{|}~>?= """)
It was meant to detect any symbol keyboard input but I will probably change it to something else at some point. I've seen string.printable
might be a good solution for any keyboard entry
Hi, I'm getting a syntax warning in Python 3.12.0
Am guessing it should really be
symbols_set = set("""!#\\$%&'()*+,-./:;"@[]^_
{|}~>?= """)`?