Tabs -vs- Spaces: Tabs should have won.

rantingrick rantingrick at gmail.com
Sun Jul 17 18:46:25 CEST 2011


On Jul 17, 5:42 am, Thorsten Kampe <thors... at thorstenkampe.de> wrote:

> When I'm (consistently, of course) indenting code, I'm aligning it. When
> I'm aligning code, I do this by indenting it, see for instance...
>
> firstvariable = 11
> variable      = 111
>
> firstvariable = 22
> variable =      222
>
> The second "=" and the "222" is indented.
>
> Or your example:
> setup(
>     name         = 'Elucidation',
>     version      = '0.0.1-WIP',
>     py_modules   = ['elucidation'],
>     author       = 'Andrew Berg',
>     author_email = 'baha... at digital-signal.net',
>     url          = '',
>     platforms    = 'Windows',
>     description  = 'Provides a class for storing information on
> multimedia files that are to be converted or remuxed and methods to
> convert and remux using popular tools.'

Why do you feel the need to layout your code in a "GUI-listview"
manner. Next you'll want column titles and column sorting... Jeez!
This is what you should have done...

DESC = """
Provides a class for storing information on
multimedia files that are to be converted
or remuxed and methods to convert and remux
using popular tools.
"""

setup(
    name='Elucidation',
    version='0.0.1-WIP',
    py_modules=['elucidation'],
    author='Andrew Berg',
    author_email='baha... at digital-signal.net',
    url='',
    platforms='Windows',
    description=DESC,
    )



More information about the Python-list mailing list