You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Russell91 edited this page Jun 14, 2014
·
53 revisions
pythonpy will automatically replace sharp quotes with single quotes before processing an expression:
py '`hello world`'
hello world
py '"ma`am"'
ma'am
alias pyplt='py -c '"'"'import matplotlib; matplotlib.use(`Agg`); import matplotlib.pyplot as plt'"'"' -C '"'"'plt.savefig("output.pdf")'"'"
py '[math.sin(x/10) for x in range(100)]' | pyplt -l 'plt.plot(l)'