pylib finish