generic python tab settings