Open GoogleCodeExporter opened 9 years ago
The only problem with this is that Sk.read also must be used when loading
standard library modules from builtin.js. I've been thinking about this and I
wonder if there should simply be an Sk.builtinRead function for handling the
builtin.js modules.
On a separate note I had also implemented file IO some time ago. My approach
-- which is very web page oriented was to use the text from a particular
element ID as the file. For example <pre id="myfile.txt"> which allows you
to show the file contents in the web page as well as treat those lines like a
file.
Original comment by bonelake
on 26 May 2012 at 9:10
Original issue reported on code.google.com by
chris35...@gmail.com
on 24 May 2012 at 2:37Attachments: