Oh, I checked the list of known issues but couldn’t find it there.
When you do implement it, can you make sure for it to support network paths (ie. UNC paths), because the Windows version is really rubbish at that. It works, but freezes GH for several minutes (same for image sampler).
2 years later and apparently the issue hasn’t been fixed yet…
In case anyone comes across this, here’s a really simple 2-line Python script that achieves the same thing for text files (i.e. non-binary, no parsing done):
with open(path, 'r') as fp:
contents = fp.read()
just replace read() with readlines() for Per Line functionality)
Apologies for reviving an old thread. I am having difficulty in making this simple script work, but I have no experience with scripting in GH. Can anyone suggest what I am doing wrong? I can’t find any other solution to allow me to read file data.