<div dir="auto">Speaking of python saw this today in case someone was interested.<div dir="auto"><br></div><div dir="auto"><a href="https://www.reddit.com/r/learnpython/comments/la98y1/automate_the_boring_stuff_with_python_online/">https://www.reddit.com/r/learnpython/comments/la98y1/automate_the_boring_stuff_with_python_online/</a><br></div><div dir="auto"><br></div><div dir="auto">G</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 2 Feb 2021, 21:39 Thomas Kluyver, <<a href="mailto:thomas@kluyver.me.uk">thomas@kluyver.me.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Following our conversation about bash & Python, I remembered another tool that might be of interest:<br>
<br>
<a href="https://github.com/hauntsaninja/pyp" rel="noreferrer noreferrer" target="_blank">https://github.com/hauntsaninja/pyp</a><br>
<br>
This lets you use Python from bash, for pipelines like:<br>
<br>
ps x | pyp 'line.split()[4]'<br>
<br>
For context, the conversation in today's meeting encompassed Tai's blog post about using shell style pipelines of commands in Python (<a href="https://dev.to/taikedz/shellpipe-shellpipe-py-is-exactly-what-you-think-12bi" rel="noreferrer noreferrer" target="_blank">https://dev.to/taikedz/shellpipe-shellpipe-py-is-exactly-what-you-think-12bi</a> ) and the xonsh shell (<a href="https://xon.sh/" rel="noreferrer noreferrer" target="_blank">https://xon.sh/</a> ) which mixes shell-like syntax with Python.<br>
<br>
Thomas<br>
<br>
-- <br>
EdLUG mailing list<br>
<a href="mailto:EdLUG@mailman.lug.org.uk" target="_blank" rel="noreferrer">EdLUG@mailman.lug.org.uk</a><br>
<a href="https://lists.edlug.org.uk/mailman/listinfo/edlug" rel="noreferrer noreferrer" target="_blank">https://lists.edlug.org.uk/mailman/listinfo/edlug</a></blockquote></div>