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?

References <b0f2c8d2-c5a7-4b12-90f1-4aa8bfed9783@googlegroups.com>
Date 2014-07-10 16: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>
Newsgroups comp.lang.python
Message-ID <mailman.11727.1405001662.18130.python-list@python.org> (permalink)

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