@GaG Thank you for your help. Till now i found my way to manage easy csv tasks , since csv files are just text with comma for change column, and new lines for change row i can deal this on BAS by creating lists from "Read File to List" and then i can break each list item from "Parse string" with comma as separator. Then i use "Write File" for saving and i can live visualize the edited results on the csv file with a program called "Modern CSV". Thing is that on more advanced scripts i have big CSV files with a lots of rows and columns , sometimes i must to constant return to BAS the index position of partial value search terms on those files. I have found also an alternative way to manage by creating and executing a bat file with call for python for converting csv to xlsx and then i may use "module Excel" that haves all the actions im looking for, but Im wondering why BAS haves those actions only for xslx files, why not for csv also? Anyways till now im very satisfied to BAS but i might need more help in the future on this matter.
Read file from resource not working
-
I don't know if i'm doing something wrong but if i put inside the "Read file" command an resource file path "lines from file" the function doesn't work
What am i doing wrong ?Edit : I understood what i was doing wrong , but i was wondering if you could somehow put */Desktop/software/file.txt or something similar for a fixed path so that if you move the software to another computer it will still work with the predefined path
-
@denanotherday i found what i was doing wrong but if you could help me with the part i edited above i would really appreciate it
-
File from folder and from the resource use fixed string and put the directory example D:
and from script read file by {{your_resource_path}}\file_name.txtif this not meet with ur question, lemme know :)
Regards
-
@bogdan said in Read file from resource not working:
I don't know if i'm doing something wrong but if i put inside the "Read file" command an resource file path "lines from file" the function doesn't work
Doing so means that there is path to another file inside your original file.
Just use resource anywhere in your code.