On Aug 19, 4:16 pm, Peter Brett wrote:
> "digisat...@gmail.com" writes:
> > Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
> > [GCC 4.3.3] on linux2
> > Type "help", "copyright", "credits" or "license" for more information.
> ' test\ttest'.expandtabs(4)
> > ' test test'
> 'test
"digisat...@gmail.com" writes:
> Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
> [GCC 4.3.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
' test\ttest'.expandtabs(4)
> ' test test'
'test \ttest'.expandtabs(4)
> 'testtest'
>
> 1st examp
On Wed, Aug 19, 2009 at 5:57 PM, digisat...@gmail.com
wrote:
> Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
> [GCC 4.3.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> ' test\ttest'.expandtabs(4)
> ' test test'
> >>> 'test \ttest'.expandtabs(4)
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> ' test\ttest'.expandtabs(4)
' test test'
>>> 'test \ttest'.expandtabs(4)
'testtest'
1st example: expect returning 4 spaces between 'test', 3