Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!proxad.net!feeder1-2.proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!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.030 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'interpreter': 0.05; 'exit': 0.09; 'python': 0.11; 'jan': 0.12; 'assume': 0.14; 'windows': 0.15; 'interpreter,': 0.16; 'fix': 0.17; 'wrote:': 0.18; 'do.': 0.18; 'trying': 0.19; 'command': 0.22; 'this?': 0.23; 'error': 0.23; '(by': 0.24; 'looks': 0.24; '(or': 0.24; 'second': 0.26; 'defined': 0.27; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'file': 0.32; 'this.': 0.32; 'run': 0.32; 'open': 0.33; 'received:google.com': 0.35; 'depends': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'called': 0.40; 'how': 0.40; 'commands': 0.60; 'new': 0.61; "you're": 0.61; 'first': 0.61; "you'll": 0.62; 'name': 0.63; 'nobody': 0.68; 'prompt': 0.68; '2015': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=5nZUxmQtd0AI89jLvVU2KLGr6y1Ok1M+9vKJL8BoecU=; b=t6YQBEiRm8XPVjOfhtrVpznjH7nf0Op9xwzT/x+Y83lMVpdFBksnXoVLOMnXOVbiKk 8yx7fQwyxAKavogTGWpq7JMxQLP+bWy1fMV+G6muBz9wowjRD9mxX+zQUVhGe4J0Lg6X tPm9YXTXxlvjzWQLTsfqX90b+zR48HHQiCF0itfeJD3s8VGwvMFOVSbkWTq/KyGCxbBu jjA6dOpH4skuFrbVsY+78fzL0Bat64FaqJgXVnmO6JpPRpnNvWL8Efyl6nIOZK3dWM9V 1PZiqZhpqcjMvPN4aTBFbwUR2/PMqMdPZcah3nt7BIRSNfWzkErTqAdnjnb2KeikVFa+ Sisg== X-Received: by 10.70.47.6 with SMTP id z6mr40126202pdm.82.1421015564009; Sun, 11 Jan 2015 14:32:44 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <9c3445d2-8ce6-491a-b240-5c71f91d3fc1@googlegroups.com> References: <9c3445d2-8ce6-491a-b240-5c71f91d3fc1@googlegroups.com> From: Ian Kelly Date: Sun, 11 Jan 2015 15:32:03 -0700 Subject: Re: MS-DOS Commands To: Python Content-Type: text/plain; charset=UTF-8 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: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1421015573 news.xs4all.nl 2878 [2001:888:2000:d::a6]:34476 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:83569 On Sun, Jan 11, 2015 at 3:13 PM, Jenacee Owens wrote: > I'm new to python and every time i type a command into the MS-DOS Commands it looks like this. > >>>>strings > > Traceback file "";line 1 in > name error:name strings'is not defined That error is from the Python interpreter, not MS-DOS (by which I assume you mean the Windows command prompt; nobody seriously uses MS-DOS any more). > how can i fix this? That depends on what it is you're trying to do. If you're actually trying to run some program called 'strings' from the command prompt then you'll need to exit the Python interpreter first (or open a second command prompt window).