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


Groups > comp.lang.python > #83569

Re: MS-DOS Commands

References <9c3445d2-8ce6-491a-b240-5c71f91d3fc1@googlegroups.com>
From Ian Kelly <ian.g.kelly@gmail.com>
Date 2015-01-11 15:32 -0700
Subject Re: MS-DOS Commands
Newsgroups comp.lang.python
Message-ID <mailman.17596.1421015573.18130.python-list@python.org> (permalink)

Show all headers | 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