<br><br>On 1 October 2012 21:51, Guido van Rossum <<a href="mailto:guido@python.org">guido@python.org</a>> wrote:<br>> On Mon, Oct 1, 2012 at 1:26 PM, Oscar Benjamin<br>> <<a href="mailto:oscar.j.benjamin@gmail.com">oscar.j.benjamin@gmail.com</a>> wrote:<br>
>> # Parameters<br>>> α = 1<br>>> β = 0.1<br>>> γ = 1.5<br>>> δ = 0.075<br>>><br>>> # Initial conditions<br>>> xₒ = 10<br>>> yₒ = 5<br>>> Zₒ = xₒ, yₒ<div>><br>
> Those examples would be a lot more compelling if there was an<br>> acceptable way to input those characters. Maybe we could support some<br>> kind of input method that enabled LaTeX style math notation as used by<br>
> scientists for writing equations in papers?<div><br></div><div>Sympy already has a few of the basic TeX concepts. I imagine that something like Sympy notebooks (a browser-based interface) might one day gain support for this. A readline-ish method to do it would be a great extension to isympy (since it already works for output):</div>
<div><br>$ isympy<br>IPython console for SymPy 0.7.1.rc1 (Python 2.7.3-64-bit) (ground types: python)<br><br>In [1]: Symbol('beta')<br>Out[1]: β<br><br>In [2]: Symbol('c_1')<br>Out[2]: c₁<br><div><br></div>
<div>Oscar</div></div></div>