On Wed, Sep 28, 2016 at 12:01 PM, Robert Beezer <[email protected]> wrote: > Right, I can definitely do some of this in Python, but I'm (stubbornly) > trying to keep the CLI toolchain to one step (xsltproc). Long-term, with a > friendlier interface, or building within SMC, it may not make any > difference. > > XSL makes certain hard things extremely easy, and makes certain trivial > things a PITA. Gotta pick your poison, I guess...
Well you're using XML, so perhaps you're a glutton for punishment :-) > > > On Wednesday, September 28, 2016 at 11:40:36 AM UTC-7, Harald Schilly wrote: >> >> On Wed, Sep 28, 2016 at 8:13 PM, William Stein <[email protected]> >> wrote: >> > We really need to write a python library to do this asap >> > though... (maybe Hal Snyder <[email protected]> will...) >> >> The ipynb2sagews I wrote has all the key abstractions for extracting >> this into a lib: >> >> >> https://github.com/sagemathinc/smc/blob/master/src/smc_pyutil/smc_pyutil/ipynb2sagews.py#L130 >> >> However, Robert is living in the XSLT world and just works with the >> json-lines directly :-) >> >> -- harald > > -- > You received this message because you are subscribed to the Google Groups > "sage-cloud" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-cloud/982aa319-9214-49cb-b5a4-735c23a08d2b%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. -- Best Regards, William Stein CEO, SageMath, Inc. -- You received this message because you are subscribed to the Google Groups "sage-cloud" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-cloud/CA%2BjwZMj1y65k4_HVgxOkk7rCfL0jAtm1SOMeuNPVNqOKHRfSzA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
