On Fri, Aug 28, 2020 at 09:34:43AM -0700, Christopher Barker wrote:
> And on the Python side, there is no standard way to represent arbitrary
> text files as Python objects.
Um, sure there is: unstructured text, which is exactly what Python does.
And contrary to Steve Barnes' comments, Python doesn't discard comments
when reading and writing text files, because it has no concept of a
generic "text file comment". It's all just text, regardless of whether
the text includes "#" or "{...}" or "--" or "REM" or ";" or "/* ... */".
--
Steve
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/U3JWGLPCMB7JRUAZOWNTZW6T47X4WI55/
Code of Conduct: http://python.org/psf/codeofconduct/