python witness