Python

by rullzer on Sep.15, 2007, under Programming things, School

So I’m back at the university. Nice to see all the people again. So not that bad. Now we got a course Natural Language Processing and I was told it was best to do it in python. I never coded in python before so did not really know what to expect. I started coding and it was actually quite easy. It works nice and is surprisingly fast. However (and I know I am not the only one) why am I not allowed to use my friends { and }…. I like them. Now I know I have to indent etc. I already do that. But I like to use them just in case…

Ah well I think I can learn to live with it. But still… Would be nice if they gave me the choice to use it…

2 comments for this entry:
  1. Zeth

    You want braces, no problem:

    #{
    def hello():
    print 'Hello World'
    #}

    hello()

  2. Dwight Hansen

    This is great! Thanks for this post. I am just starting development and this was a big help.

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!