Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!eweka.nl!hq-usenetpeers.eweka.nl!xlned.com!feeder3.xlned.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!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.012 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'python.': 0.02; 'method,': 0.09; 'subject:module': 0.09; 'subject:question': 0.10; 'extension,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'implies': 0.16; 'script?': 0.16; 'subject:import': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'install': 0.23; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'skip:s 70': 0.31; 'quite': 0.32; 'actual': 0.34; 'something': 0.35; 'received:google.com': 0.35; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'called': 0.40; 'more': 0.64; 'different': 0.65; 'jul': 0.74; 'syed': 0.84; '2013': 0.98 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=g71rRWpYZXEuCy7mE5gRqNqmAhHblISTjyxfqv6QVO0=; b=SmGzsAZXcj1iJCjtuzJfBDWm6DVo5ZFugjrjJwF6OZsMOuTsTpr2IKqgVOt6IoK5Hq 8Eb52Ai1fYURJWtnabxwApyvyh7speNnuqwvYVid5s7JZFbRuLkQx3CXazvA8dHDXaam ZvhhchSEC8sDWWl3KrQ/iZRXyRDXQVG5hdNZIj4te3x8J4Q3RswmsAdAUohhAiwxvsw3 iLvd9yTquqtL4pmvb3VA9LkxfXsL1yjP/NnEyVdm+PbbKESYq0Blf+CecUatCcPlaP+/ Mxldm+OavsQG1TGqtQKm6Vd/wN4eX5fZom6DxslVthUHtGI2Jjh2AiKmCZwUsUxYXpd2 kvvQ== MIME-Version: 1.0 X-Received: by 10.52.34.40 with SMTP id w8mr19521383vdi.7.1374967989007; Sat, 27 Jul 2013 16:33:09 -0700 (PDT) In-Reply-To: References: Date: Sun, 28 Jul 2013 00:33:08 +0100 Subject: Re: python import module question 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: 9 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1374967991 news.xs4all.nl 15887 [2001:888:2000:d::a6]:54742 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:51376 On Sun, Jul 28, 2013 at 12:15 AM, syed khalid wrote: > Syedk@syedk-ThinkPad-T410:~/shogun-2.0.0/src/interfaces/cmdline_static$ shogun | more This implies that you have something called 'shogun', without an extension, in your $PATH. Where is the actual script? You may need to install it by a quite different method, to make it available in Python. ChrisA