Hi anda_skoa, thanks for your quick reply!
Truth is I have no idea, but I’m checking it out now in case I find something and I’ll post.
Have you any clue if it could be done in another way? For example to get the file name (e.g. this_file.txt) and then use something like:

Qt Code:
  1. with open("test_5.txt") as f:
  2. data2 = np.loadtxt("this_file.txt ")
To copy to clipboard, switch view to plain text mode 

Thanks again!