Operating environment
Xeon E5-2620 v4 (8 cores) x 2
32GB RAM
CentOS 6.8 (64bit)
openmpi-1.8.x86_64 and its-devel
mpich.x86_64 3.1-5.el6 and its-devel
gcc version 4.4.7 (And gfortran)
NCAR Command Language Version 6.3.0
WRF v3.7.Use 1.
Python 2.6.6
@ Introducing Python: Modern Computing in Simple Packages by Bill Lubanovic (No. 802 / 12833)
The following differences are described regarding the content display in the case of multiline strings using " ""
and'''
.
I tried it with an appropriate sentence.
>>> poem='''She sells seashells at the seashore.
... Mirror mirror on the wall who is the fairest of them all?
... A lie is a lie is a lie, no matter how white, how small,
... how incorporating of a smidgen of truth there be in it.'''
>>> print(poem)
She sells seashells at the seashore.
Mirror mirror on the wall who is the fairest of them all?
A lie is a lie is a lie, no matter how white, how small,
how incorporating of a smidgen of truth there be in it.
>>> poem
'She sells seashells at the seashore.\n Mirror mirror on the wall who is the fairest of them all?\n A lie is a lie is a lie, no matter how white, how small,\n how incorporating of a smidgen of truth there be in it.'
At the time of automatic echoing, "'(single quotation)" is added before and after the content, and the line feed symbol is also displayed as \ n
.
Recommended Posts