Simple material swap python script not working

Thanks for the help.

Unfortunately that doesn’t work either.

There’s no error messages, no feedbaack. The script just executes and does nothing like the results here