Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #29262

Re: Some Silly Questions

References <1985f3e4-11fb-41ff-9b1d-a9b7fc5cba15@googlegroups.com>
Date 2012-09-16 03:26 +1000
Subject Re: Some Silly Questions
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.768.1347729987.27098.python-list@python.org> (permalink)

Show all headers | View raw


On Sun, Sep 16, 2012 at 3:18 AM, Subhabrata <subhabangalore@gmail.com> wrote:
> Dear Group,
>
> I am going to ask two very silly questions, if any one can kindly tell me why this structure is taken?
>
> classifier.pseudocode(depth=4)
>
> from nltk.corpus import brown

Not sure what your question means. The first one is a keyword argument:
http://docs.python.org/tutorial/controlflow.html#keyword-arguments

The second is an import statement:
http://docs.python.org/tutorial/modules.html

That should get you started!

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Some Silly Questions Subhabrata <subhabangalore@gmail.com> - 2012-09-15 10:18 -0700
  Re: Some Silly Questions Chris Angelico <rosuav@gmail.com> - 2012-09-16 03:26 +1000

csiph-web