indentation

Discussion in 'Python' started by Amit Jaluf, Aug 11, 2011.

  1. Amit Jaluf

    Amit Jaluf Guest

    Hello Group,
    i just start python is it necessary indentation in python ?

    thanks in advance ...
     
    Amit Jaluf, Aug 11, 2011
    #1
    1. Advertising

  2. Amit Jaluf

    MRAB Guest

    On 11/08/2011 13:56, Amit Jaluf wrote:
    > Hello Group,
    > i just start python is it necessary indentation in python ?
    >

    Yes, indentation is part of the language.

    Even in programming languages where it isn't necessary, it's
    recommended because it makes the code easier to read.
     
    MRAB, Aug 11, 2011
    #2
    1. Advertising

  3. Amit Jaluf

    Amit Jaluf Guest

    On Aug 11, 8:15 am, MRAB <> wrote:
    > On 11/08/2011 13:56, Amit Jaluf wrote:> Hello Group,
    > > i just start python is it necessary indentation in python ?

    >
    > Yes, indentation is part of the language.
    >
    > Even in programming languages where it isn't necessary, it's
    > recommended because it makes the code easier to read.


    Thanks MRAB
    which book or tutorial i should for it(Python)
    i found "A Byte of Python " by Swaroop
    after that which tutorial(book) i have to read
    Please Suggest me .....
     
    Amit Jaluf, Aug 11, 2011
    #3
  4. Amit Jaluf

    maedox Guest

    On 11 Aug, 16:06, Amit Jaluf <> wrote:
    > On Aug 11, 8:15 am, MRAB <> wrote:
    >
    > > On 11/08/2011 13:56, Amit Jaluf wrote:> Hello Group,
    > > > i just start python is it necessary indentation in python ?

    >
    > > Yes, indentation is part of the language.

    >
    > > Even in programming languages where it isn't necessary, it's
    > > recommended because it makes the code easier to read.

    >
    > Thanks MRAB
    > which book or tutorial i should for it(Python)
    > i found "A Byte of Python " by Swaroop
    > after that which tutorial(book) i have to read
    > Please Suggest me .....


    http://www.python.org/dev/peps/pep-0008/
    http://diveintopython.org/
    http://learnpythonthehardway.org/
    http://code.google.com/intl/no/edu/languages/google-python-class/introduction.html
     
    maedox, Aug 11, 2011
    #4
  5. Amit Jaluf wrote:
    > which book or tutorial i should for it(Python)
    > i found "A Byte of Python " by Swaroop
    > after that which tutorial(book) i have to read


    You can read lots of book reviews online. That said, have you checked
    http://www.python.org?

    Uli

    --
    Domino Laser GmbH
    Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
     
    Ulrich Eckhardt, Aug 11, 2011
    #5
  6. Amit Jaluf

    TheSaint Guest

    Amit Jaluf wrote:

    > is it necessary indentation in python ?
    >

    Try without and report it
     
    TheSaint, Aug 14, 2011
    #6
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. SJ

    DataList Indentation

    SJ, Nov 3, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    2,070
    Patrick.O.Ige
    Nov 4, 2005
  2. jacov

    [Fwd: Indentation]

    jacov, Jul 22, 2004, in forum: Java
    Replies:
    0
    Views:
    343
    jacov
    Jul 22, 2004
  3. Daan

    Unwanted indentation

    Daan, Dec 9, 2003, in forum: HTML
    Replies:
    2
    Views:
    469
  4. Jay

    List Indentation

    Jay, Apr 20, 2004, in forum: HTML
    Replies:
    5
    Views:
    544
  5. Jesse B.
    Replies:
    2
    Views:
    204
    Josh Cheek
    Mar 27, 2010
Loading...

Share This Page