Is it possible to change the python interpreter to treat a single tab
character the same as 4 space characters (rather than 8)?


On Jan 6, 7:40 pm, Darryl Ross <[EMAIL PROTECTED]> wrote:
>  >> I was having problems with my text editor.  For some reason Python
>  >> didn't like the way it handled tabs/spaces.  I stopped using tabs and
>  >> started using spaces, and that seemed to fix the problem.
>
> > Your solution of using spaces instead of tabs to indent worked
> > perfectly!
>
> The python interpreter will treat a single tab character the same as 8
> space characters, so if you indent using 4 spaces then a tab is the same
> as two indents.
>
> Regards
> Darryl
>
>  signature.asc
> 1KDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to