Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Alternatives to sed + awk



2011年 3月 3日(木)5:20 pm に Josh Glover さんは書きました:
> On 3 March 2011 08:53, Raymond Wan <rwan.kyoto@example.com> wrote:
>

>> [T]he use of indentation instead of parentheses is hard to get use to.
>
> Surely you meant curly braces. ;) But Python *does* require parens on
> every method call, which Perl does not.

You can have as many curly braces as you want:

if foo: #{
    print "foo"
#}
else: #{
    print "bar"
#}

:)





Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links