We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

str.expandtabs

expandtabs([tabsize])

Return a copy of the string where all tab characters are expanded using spaces. If tabsize is not given, a tab size of 8 characters is assumed.