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


Groups > comp.lang.python > #29256 > unrolled thread

Some Silly Questions

Started bySubhabrata <subhabangalore@gmail.com>
First post2012-09-15 10:18 -0700
Last post2012-09-16 03:26 +1000
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  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

#29256 — Some Silly Questions

FromSubhabrata <subhabangalore@gmail.com>
Date2012-09-15 10:18 -0700
SubjectSome Silly Questions
Message-ID<1985f3e4-11fb-41ff-9b1d-a9b7fc5cba15@googlegroups.com>
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 

Sorry to ask you these. 

Actually everytime I get confused with the answers.

Regards,
Subhabrata 

[toc] | [next] | [standalone]


#29262

FromChris Angelico <rosuav@gmail.com>
Date2012-09-16 03:26 +1000
Message-ID<mailman.768.1347729987.27098.python-list@python.org>
In reply to#29256
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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web