Python minor updates