2 ms·
Another gem is pyxl from Dropbox https://github.com/dropbox/pyxl https://github.com/dropbox/pyxl Reminds me of JSX/E4X/XML Islands, etc.
by est 12y ago
Another gem is pyxl from Dropbox
https://github.com/dropbox/pyxl https://github.com/dropbox/pyxl
Reminds me of JSX/E4X/XML Islands, etc.
- alanfranzoni 12y agoInteresting and clever approach (even though, as I see, pyxl came first at that). Just a doubt: how do I specify source file encoding if the coding string is now hijacked for interpolation purposes? Is there a default, fixed encoding (which I hope is not iso-8859-1, python's own default)?
- est 12y ago> Is there a default, fixed encoding For interpy, I think it assumes utf-8 by default. https://github.com/syrusakbary/interpy/blob/master/interpy/codec/register.py#L21 https://github.com/syrusakbary/interpy/blob/master/interpy/c...