Fix using tabbed indent with Python

NST assumed using spaces for Python indentation. This update allows using tab or space indents.