Are there unit tests for the supported operations? Is the UI logic a separate testable unit? Does it just fatal exception when parsing fails; or does the REPL loop catch the e.g. Value error?
Instead of a CLI eval wrapper with regex, you could use ipywidgets in a notebook: https://ipywidgets.readthedocs.io/en/latest/examples/Using%20Interact.html https://ipywidgets.readthedocs.io/en/latest/examples/Widget%20List.html You can pair a notebook to a markdown file with jupytext so that the notebook autosaves as markdown, which works with mailman 3 mailing list archives On Thu, Apr 9, 2020, 1:44 PM kirby urner <kirby.ur...@gmail.com> wrote: > >> Try the following: >> >> from fractions import Fraction >> float(Fraction("1/3")) >> >> Knowing you, I'm sure you can figure out plenty of useful applications of >> this. :-) >> >> André >> >> > A totally excellent suggestion! > > I'm going to share that, by bringing campers here on tour, saying "this is > where Python educators hang out!" > > Maybe some of them will want to join us someday. > > Kirby > > > _______________________________________________ > Edu-sig mailing list -- edu-sig@python.org > To unsubscribe send an email to edu-sig-le...@python.org > https://mail.python.org/mailman3/lists/edu-sig.python.org/ >
_______________________________________________ Edu-sig mailing list -- edu-sig@python.org To unsubscribe send an email to edu-sig-le...@python.org https://mail.python.org/mailman3/lists/edu-sig.python.org/