How can I write some points to a text file

Hi guys. I want to write some points in GH to a text file and save that file in my computer and use it in a code.

I don’t know how can I do that! pls help me. thanks in advance.

Feeding the points in a panel allows you to write them to a file by right clicking the panel and select stream data

1 Like

I just wrote this little Python thing (wFile) that works pretty well with numbers and points. Strictly amateur, I did a quick search/copy/paste and voila!

file = open(path, 'w')
for line in data:
    line = line + '\n';

wFile_2020Dec12a (6.6 KB)


@Joseph_Oster tnx man. you are great!