I have a problem when I import data from txt, excel, etc files and then when I make any updates in it it 's not updating on dynamo directly which means I need to import it again to read updates. I think I need a python script to solve it.
Add a refresh node that you trigger periodically to run the update. Something like
[externalFilePath,refresh]; will work. The refresh can be a manual toggle or the output from a DateTime.Now node, which if set to periodic run mode will keep your work up to date on each run. Careful making changes with periodic run on.