Here's my take on a Python one liner tool: https://github.com/hauntsaninja/pyp
It handles automatic intelligent printing, importing and more. It explicitly aims to feel very much like writing Python, as opposed to a DSL. In fact, it can even generate a runnable Python script to show you exactly what it's doing. README includes comparisons to Pyped, xonsh and others — there's a long history of people wanting more Python in their terminal :-) On Thu, 5 Nov 2020 at 23:35, Mike Müller <mmuel...@python-academy.de> wrote: > Am 06.11.20 um 08:15 schrieb Stephen J. Turnbull: > > Alex Hall writes: > > > > > Try https://github.com/ksamuel/Pyped > > > > Or perhaps https://xon.sh, and have Python be the native syntax of the > > shell. (Unfortunately if I read correctly xonsh is based on Python > > 3.5, so no walrus operator and no f-strings yet.) > > It says 3.5+. xonsh happily works with Python 3.9. ;) > _______________________________________________ > 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/WCIOPGNGYPHEIHVBQ7M6TZHI4UESTQSF/ > Code of Conduct: http://python.org/psf/codeofconduct/ >
_______________________________________________ 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/6TEU33BBWOOUW2DZUY5EJRXAILI2P7L4/ Code of Conduct: http://python.org/psf/codeofconduct/