remove log and pyc files