Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.042 X-Spam-Evidence: '*H*': 0.92; '*S*': 0.00; '16,': 0.03; 'argument:': 0.09; 'sep': 0.09; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'means.': 0.16; 'silly': 0.16; 'wrote:': 0.17; 'import': 0.21; 'received:209.85.214.174': 0.21; 'subject:Questions': 0.22; 'second': 0.24; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'question': 0.27; 'message-id:@mail.gmail.com': 0.27; 'keyword': 0.30; 'url:python': 0.32; 'structure': 0.32; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'received:209.85': 0.35; 'url:org': 0.36; 'should': 0.36; 'two': 0.37; 'why': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'url:docs': 0.38; 'sure': 0.38; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'header:Received:5': 0.40; 'your': 0.60; 'group,': 0.60; 'first': 0.61; 'brown': 0.65; 'dear': 0.66; 'kindly': 0.67; 'url:tutorial': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=QBK5K47vmf0GMwLE2hsWV+AgKp4zwWwAyjpg0kP8wZY=; b=KGfM8gf7ExaI66T8iS+Br6W6ia3eFn1kdNHI4iMtc1Tm9dLgi4RQfWIdChsk7qPTTQ KlUOKFqn/xN8qadHs2vhmRsRuapTXzccFSZbof2uWKDjW05DB3bEeZsn7Ulvpmf9s1Bk H5c6HqYN/jA0DyW8yjEeNg5jEvFA4TNTIl1xQwtTr0JFxFozTC5Y9cbOf8aS4tPiN93I Hc2ExjHo8W5loTr/xec8le+PX/2AUdiVCg/yrkS52PXupo2VPzgZLlFoViuMpE+LK3z5 FdVP6jHhzShNC36xg3/CmAeaTVH8uYa6tdmnmP1X5bcHpnpiKNFDFH5ub8PFCwOCiEjM ZVAQ== MIME-Version: 1.0 In-Reply-To: <1985f3e4-11fb-41ff-9b1d-a9b7fc5cba15@googlegroups.com> References: <1985f3e4-11fb-41ff-9b1d-a9b7fc5cba15@googlegroups.com> Date: Sun, 16 Sep 2012 03:26:25 +1000 Subject: Re: Some Silly Questions From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1347729987 news.xs4all.nl 6893 [2001:888:2000:d::a6]:35255 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:29262 On Sun, Sep 16, 2012 at 3:18 AM, Subhabrata 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