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


Groups > comp.lang.python > #83571

Re: MS-DOS Commands

References <9c3445d2-8ce6-491a-b240-5c71f91d3fc1@googlegroups.com>
Date 2015-01-11 17:50 -0500
Subject Re: MS-DOS Commands
From Joel Goldstick <joel.goldstick@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.17598.1421016648.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Sun, Jan 11, 2015 at 5: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
>
> how can i fix this?

Nothing to do with DOS, there is no strings

Try this:
>>>my_string = "hi there"
>>>print my_string
> --
> https://mail.python.org/mailman/listinfo/python-list



-- 
Joel Goldstick
http://joelgoldstick.com

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