remove dead python code