Since I'm rather satisfied with this alias for a CLI calculator, I'll repost it:
alias pm='python3 -qic"from math import *; import sys; sys.ps1="] "; sys.ps2="… ""'
pm stands for "Python math"
N.B.: … is a single character (ellipsis)
=> More informations about this toot | View the thread | More toots from waltertross@mastodon.online
text/gemini
This content has been proxied by September (ba2dc).