The idea is to add a new string prefix 's' for SQL string. This string doesn't
do anything in Python, unlike b"" or f"" strings, but interactive Python shells
like IPython or Jupyter can parse the following characters as SQL syntax
instead of Python syntax and give SQL syntax highlighting and autocompletion,
and if they are configured correctly, they can do column name autocompletion.
Unfortunately when I try to type s"select * from table" it gave me syntax error
instead, so I think this need to be implemented in Python language itself
instead of module
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/python-ideas@python.org/message/DX2ILPS2CHH5O5EGHQCAZG27NOZETYYQ/
Code of Conduct: http://python.org/psf/codeofconduct/