python: execute: remove unused import
python: execute: all warnings use logging