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


Groups > comp.lang.python > #74305

Re: What does (A ``quote'' is the character used to open the string, i.e. either ' or ".) mean?

Path csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <kwpolska@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.036
X-Spam-Evidence '*H*': 0.93; '*S*': 0.00; 'python.': 0.02; 'tutorial': 0.03; 'talks': 0.03; 'utf-8': 0.07; 'here?': 0.09; 'strings.': 0.09; 'subject:string': 0.09; 'cc:addr:python-list': 0.11; 'language': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'meant': 0.20; 'cc:addr:python.org': 0.22; 'string,': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'character': 0.29; 'message-id:@mail.gmail.com': 0.30; 'open': 0.33; 'url:python': 0.33; 'running': 0.33; 'link.': 0.33; 'sense': 0.34; 'subject:the': 0.34; 'subject: (': 0.35; 'received:google.com': 0.35; 'version': 0.36; 'really': 0.36; 'i.e.': 0.36; 'url:ref': 0.36; 'subject:?': 0.36; 'hi,': 0.36; 'url:org': 0.36; 'should': 0.36; 'two': 0.37; 'thank': 0.38; 'pm,': 0.38; 'either': 0.39; 'read': 0.60; 'url:3': 0.61; 'from:charset:utf-8': 0.61; 'here:': 0.62; 'url:index': 0.63; 'different': 0.65; 'skip:\xe2 10': 0.65; 'to:addr:gmail.com': 0.65; 'subject:. ': 0.67; 'url:0': 0.67; 'helping': 0.70; '8bit%:43': 0.74; 'jul': 0.74; '2001.': 0.84; 'it\xe2\x80\x99s': 0.84; 'don\xe2\x80\x99t': 0.91
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:to :cc:content-type:content-transfer-encoding; bh=ARv2xEXnadSeG9vhPot22GIy/QWIZBefipiCOTSThf0=; b=Cb276pNYIHe24xtj3hy6UPHvdJhpUzCFt9NWispCUzxJxWp94vQZjnnUadIlUG5ZGT ceBYfVIHnAJZzz0k1piEJEiEPoTthNv1Iq2p2yO0siVu+pkF2WAS0fiqbXQ8EQ0vHLgn zR1RPYz5+RR2Lt28vVkFX5o5EmKi941R17cnQ0lrDhR3ZU4ZQlRI6eyY+OMfV3pRzQnY XcJkYvCXM7kRj5i5xGTD1yhCzErSDgjBCpDGXzFBcKmKe8PFutjNbjgDAEi9aYeYkr5O Rnh92O1uLwa8SgNsrotFqBB3llnDP1KAjNWMiA/Z70X8nppZaCzF9ufamHosny3yTK/k 3KNQ==
MIME-Version 1.0
X-Received by 10.50.129.10 with SMTP id ns10mr22312564igb.31.1405001654053; Thu, 10 Jul 2014 07:14:14 -0700 (PDT)
In-Reply-To <b0f2c8d2-c5a7-4b12-90f1-4aa8bfed9783@googlegroups.com>
References <b0f2c8d2-c5a7-4b12-90f1-4aa8bfed9783@googlegroups.com>
Date Thu, 10 Jul 2014 16:14:14 +0200
Subject Re: What does (A ``quote'' is the character used to open the string, i.e. either ' or ".) mean?
From Chris “Kwpolska” Warrick <kwpolska@gmail.com>
To fl <rxjwg98@gmail.com>
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
Cc python-list@python.org
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.11727.1405001662.18130.python-list@python.org> (permalink)
Lines 32
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1405001662 news.xs4all.nl 2948 [2001:888:2000:d::a6]:44384
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:74305

Show key headers only | View raw


On Thu, Jul 10, 2014 at 4:04 PM, fl <rxjwg98@gmail.com> wrote:
> Hi,
>
> For me, it is difficult to understand the last line of the paragraph below in
> parenthesis (A ``quote'' is the character used to open the string,
> i.e. either ' or ".)
>
> It talks about triple-quoted strings. Where is ``quote'' from? It has two ` and '.
> What this different ` and ' do for here?
>
> The link is here:
> https://docs.python.org/2.0/ref/strings.html
>
> Thank you for helping me to learn Python.

Please don’t learn from this link.  It’s from 2001.  You should learn
from modern documentation: https://docs.python.org/ (if not running
3.4.x, change the version in the top)

You also should not read the language reference, it’s meant for people
who really care about what’s under the hood.  The official tutorial is
better for learning: https://docs.python.org/3/tutorial/index.html

-- 
Chris “Kwpolska” Warrick <http://chriswarrick.com/>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense

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


Thread

What does (A ``quote'' is the character used to open the string, i.e. either ' or ".) mean? fl <rxjwg98@gmail.com> - 2014-07-10 07:04 -0700
  Re: What does (A ``quote'' is the character used to open the string,  i.e. either ' or ".) mean? Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2014-07-10 16:14 +0200
    Re: What does (A ``quote'' is the character used to open the string,  i.e. either ' or ".) mean? fl <rxjwg98@gmail.com> - 2014-07-10 08:23 -0700
      Re: What does (A ``quote'' is the character used to open the string,  i.e. either ' or ".) mean? MRAB <python@mrabarnett.plus.com> - 2014-07-10 17:48 +0100
      Re: What does (A ``quote'' is the character used to open the string,  i.e. either ' or ".) mean? Ian Kelly <ian.g.kelly@gmail.com> - 2014-07-10 10:22 -0600
  Re: What does (A ``quote'' is the character used to open the string,  i.e. either ' or ".) mean? Joel Goldstick <joel.goldstick@gmail.com> - 2014-07-10 10:14 -0400

csiph-web