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


Groups > comp.lang.python > #83571

Re: MS-DOS Commands

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.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!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <joel.goldstick@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.091
X-Spam-Evidence '*H*': 0.82; '*S*': 0.00; 'cc:addr:python-list': 0.11; 'python': 0.11; 'jan': 0.12; 'fix': 0.17; 'wrote:': 0.18; 'command': 0.22; 'cc:addr:python.org': 0.22; 'this?': 0.23; 'looks': 0.24; 'cc:2**0': 0.24; 'this:': 0.26; 'defined': 0.27; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'url:mailman': 0.30; 'file': 0.32; 'this.': 0.32; 'url:python': 0.33; 'received:google.com': 0.35; 'there': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'pm,': 0.38; 'url:mail': 0.40; 'how': 0.40; 'commands': 0.60; 'new': 0.61; 'name': 0.63; '2015': 0.84; 'joel': 0.91; 'to:none': 0.92
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:cc :content-type; bh=gD17/MSPJsO5sOr4ZiMyEiPPwDly5ZR+Hz41LcI4T2Q=; b=RVl/8w08+DMdbabE2GxWl+9vnsxZbs6CLhkueL5x53jp5btNQhsbMptDnqPp+cUO5n nu5UZ1fVBUCDFdy1QMtav8vAEf+JQmx/d+afxXbKvmSAdaBT6Pc/DT3D9F4JsFhjYEVd 9bKdLyNC7pjvq8hXGOz2cwixSzbhr097ih16W1lZ7jGzLVqr2SorZKeNqJEFo2OWMQYE +h/Z57AoFAFmy0dRVlKTbGMlSZW7sBcqelHdIEWIA8iwlo4ajMKv2VtZwDTJe+OtBycW l2Y8RZ1meRUczlvaequCvzTCZzy/nL0oA7OH9PKtLtCKub+Z2U/bxo9tz4gmGcqHRa11 t4Cg==
MIME-Version 1.0
X-Received by 10.224.152.11 with SMTP id e11mr44714003qaw.44.1421016640648; Sun, 11 Jan 2015 14:50:40 -0800 (PST)
In-Reply-To <9c3445d2-8ce6-491a-b240-5c71f91d3fc1@googlegroups.com>
References <9c3445d2-8ce6-491a-b240-5c71f91d3fc1@googlegroups.com>
Date Sun, 11 Jan 2015 17:50:40 -0500
Subject Re: MS-DOS Commands
From Joel Goldstick <joel.goldstick@gmail.com>
Cc "python-list@python.org" <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.17598.1421016648.18130.python-list@python.org> (permalink)
Lines 24
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1421016648 news.xs4all.nl 2955 [2001:888:2000:d::a6]:40660
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:83571

Show key headers only | 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