Skip to content

use of open() results or filehandles #9659

@iwelch

Description

[novice warning]

per the discussion in https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!searchin/julia-users/reading$20compressed$20csv/julia-users/1C97f24SmKo/2K5c2OdAV94J and #6948

I would suggest that all functions that work with a part of the tuple returned by open() also work with the full tuple. in particular, I would like to see familiar language constructs like the following to "just work":

close(open(...))
fs=open(`cat file.csv`); readcsv(fs); close(fs);

having to index fs is neither intuitive nor necessary.

regards,

/iaw

Metadata

Labels

ioInvolving the I/O subsystem: libuv, read, write, etc.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions