Eric3 works great with spaces, tabs and even when imported code
indentation is "mixed". I have got problems trying to import "mixed)
code from other people.
Settings > Preferences > Editor > General
Tab width 8 Indentation width 4 (reasons why 8 and 4 are mentioned in
previous postings in this thr
Renato wrote:
> If you use vi (vim, I hope), then place something like this in your
> .vimrc
>
> set ts=4
> set sw=4
> set expandtab
> set ai
Or, more verbose:
set tabstop=4
set shiftwidth=4
set autoindent
> There are a lot more tricks for python in vim (and plugins, and
> helpers, and so on),
On 26 Feb 2006 22:21:26 -0800
[EMAIL PROTECTED] wrote:
> I am a newbie to Python. I am mainly using Eric as the IDE
> for coding. Also, using VIM and gedit sometimes.
>
> I had this wierd problem of indentation. My code was 100%
> right but it wont run because indentation was not right. I
> checke
[EMAIL PROTECTED] wrote:
> I am a newbie to Python. I am mainly using Eric as the IDE for coding.
> Also, using VIM and gedit sometimes.
>
> I had this wierd problem of indentation. My code was 100% right but it
> wont run because indentation was not right.
If indentation is not right, then your
As far as i know, gedit is the weak link, this is because of the way it
handles its whitespaces, had that trouble myself though not this
*severe*
--
http://mail.python.org/mailman/listinfo/python-list
If you use vi (vim, I hope), then place something like this in your
.vimrc
set ts=4
set sw=4
set expandtab
set ai
There are a lot more tricks for python in vim (and plugins, and
helpers, and so on), but this is the starting point: tabstops of 4
places, autoconverted in spaces. Also, when shifting
[EMAIL PROTECTED] wrote:
> I am a newbie to Python. I am mainly using Eric as the IDE for coding.
> Also, using VIM and gedit sometimes.
>
> I had this wierd problem of indentation. My code was 100% right but it
> wont run because indentation was not right. I checked time and again
> but still no
I am a newbie to Python. I am mainly using Eric as the IDE for coding.
Also, using VIM and gedit sometimes.
I had this wierd problem of indentation. My code was 100% right but it
wont run because indentation was not right. I checked time and again
but still no success. I rewrote the code over agai