I'm trying to change the texture of an object by changing the .png texture image I'm loading from an external folder.
When using the Blender interface, all I need to do is going to the image tab in texture and open the file I want:
The changes are then operated automatically.
How would I go about to do the same in Python?
I have read other stackexchange answers to similar questions but I'm not sure to what extent they apply to my situation.