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


Groups > comp.lang.python > #83569

Re: MS-DOS Commands

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 <ian.g.kelly@gmail.com>
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 <ian.g.kelly@gmail.com>
Date Sun, 11 Jan 2015 15:32:03 -0700
Subject Re: MS-DOS Commands
To Python <python-list@python.org>
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 <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.17596.1421015573.18130.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Sun, Jan 11, 2015 at 3:13 PM, Jenacee Owens <jenaceerowens@gmail.com> wrote:
> I'm new to python and every time i type a command into the MS-DOS Commands it looks like this.
>
>>>>strings
>
> Traceback<most recent call last:
>    file "<stdin>";line 1 in <module>
> 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).

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


Thread

MS-DOS Commands Jenacee Owens <jenaceerowens@gmail.com> - 2015-01-11 14:13 -0800
  Re: MS-DOS Commands Ian Kelly <ian.g.kelly@gmail.com> - 2015-01-11 15:32 -0700
  Re: MS-DOS Commands Gary Herron <gary.herron@islandtraining.com> - 2015-01-11 14:33 -0800
  Re: MS-DOS Commands Joel Goldstick <joel.goldstick@gmail.com> - 2015-01-11 17:50 -0500
  Re: MS-DOS Commands Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-01-11 23:57 +0000

csiph-web