Python stop working

Dear…
Is use a odriod xu4 with dietpi
On my xu4 i run a home automation, with some python scripts.

A few days a go i did a dietpi-upgrade…
After that my python script are not function any more…

whe i try to instal python the odriod says already installed…
In dietpi software i turn on python.
Only no luck at all…
Hope some one ill help me …
Thanks for your time.

mm please…
is there no one that can help…
Found a problem after the dist upgrade.
I see a segmentation fault when i try some py settings

Perhaps someone have a solution for that??

Thanks