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


Groups > comp.lang.python > #64995

end quote help for a newbie

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <artomishka@yahoo.co.uk>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.086
X-Spam-Evidence '*H*': 0.83; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'subject:help': 0.08; 'literal': 0.09; 'effect,': 0.16; 'reply-to:addr:yahoo.co.uk': 0.16; 'trying': 0.19; 'seems': 0.21; 'to:name:python-list@python.org': 0.22; 'print': 0.22; 'keyboard': 0.24; 'initial': 0.24; 'tried': 0.27; 'character': 0.29; 'statement': 0.30; 'flags': 0.31; 'quotes': 0.31; 'subject:end': 0.31; 'terminate': 0.31; 'probably': 0.32; 'assistance,': 0.33; 'but': 0.35; 'there': 0.35; 'thanks': 0.36; 'should': 0.36; 'changing': 0.37; 'to:addr:python-list': 0.38; '(from': 0.39; 'quote': 0.39; 'to:addr:python.org': 0.39; 'space': 0.40; 'easy': 0.60; 'enclosed': 0.60; 'received:212.82': 0.60; 'different': 0.65; 'header:Reply-To:1': 0.67; 'invalid': 0.68; '\xe2\x80\x93': 0.77; 'ending': 0.78; 'quote,': 0.84
X-Yahoo-Newman-Property ymail-3
X-Yahoo-Newman-Id 213984.20406.bm@omp1051.mail.ir2.yahoo.com
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s1024; t=1391088376; bh=5VtlOcNxgwF9BHNE8wSRz9Gh6qnACrM6G3kTQVgXV10=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=ujeCR+sbrN/big2btjE36HudRBGIstIJJ2DnryzgbKCoPeoXU/GSlZkY1xg6/OOSK4CwAt0ZSNAvX7IdY1xQNXqHpWeOqNnsbv4ZGT18/twH54BFNMbZDmDEpeYzGDZ1aKMd+BpkOs25lYubKdYvrb8vlB8yAQkbNeuQTVCCs2M=
DomainKey-Signature a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=v2ZHeIpQDG0QJ4e+cNS8Ala5vbZ4uh3KwA7KpGd+fAQ45bYb3nghUkflZFwBuzkMVbTAnCvGUZV+nvvrcZZ/3PzsdeL+GGp2ywdSnnIFIUDLGuwtCxsg/oAp3w0epNyREkAQtRnnsPwRcOiefTv2L/eQYEj5Zp6QK5+Rvpx12kY=;
X-YMail-OSG JbzbdUEVM1mZCDwkiMnFwqHL5QfQnZBvtOCaiuKZ0FH.kKZ LqdIKMynjxNn578uwrI9WeV3UU2Tps.ffr8VynJ8TeECigj0tXcfW7giF.3E UN23KD.qSSgWbgNEEY9sryPgeatl4rwoNqB5nlXjAPpW3szE7TGpTFXqGe0V w7efAhEAlTirjbXqZSeYLhEcB1U4OdCf9_0ybcWB1ZHKc1yoqyd1hvF2FPWH no2I005CGUpVE2xXZ9C5MyHrGiI.CfdXO6SAh7eKxlwYRo1eP7Ih4cuOrKWp LF_.RX0Vh2ZiZl2FAHaAU88BMCvg4C_KPiHfMKTtAacpItNjZYsgiUUaM5W1 iRmyIONRU9KMKJJeI.oRGOpFLwM4ee_9iNcMQ.S.9P0IBRLPzLtakO80Pyd4 dLl7tnf7_Occznh2au0ZP_gOlDP.K.w5zvUxNN.vhyIb7PGajDdvWMrQxNTZ TChSgx86JapNCwXRZlnMi1BnU3ZPV0.kgHsWw_vyDiVaAgD7.mMkSLyjHKCd ls4ejJH_NuMgoFL1Dyh3BRj23iHehCklCrTVRdr.v9flNkSGsY2yvuMwftj4 QeDK8AwfXx5Bl58Z_e8Mr
X-Rocket-MIMEInfo 002.001, VGhlcmUgaXMgcHJvYmFibHkgYW4gZWFzeSBzb2x1dGlvbiB0byB0aGlzwqDigJMgYnV0IEkgaGF2ZSBub3QgZm91bmQgaXQuCgpUcnlpbmcgdG8gdGVybWluYXRlIGEgbGl0ZXJhbCBpbiBhIHByaW50IHN0YXRlbWVudCAoZnJvbSB0aGUgCnR1dG9yaWFsKS4KClRoZSBsaXRlcmFsIHNob3VsZCBiZSBlbmNsb3NlZCBpbiBkb3VibGUgcXVvdGVzIOKAnCDigJwKCnRoZSBpbml0aWFsIGRvdWJsZSBxdW90ZSBzZWVtcyB0byBiZSBPSyAoaWYgSSB1c2UgYSBkaWZmZXJlbnQgY2hhcmFjdGVyIGl0IApmbGFncyBpdCkBMAEBAQE-
X-Mailer YahooMailWebService/0.8.174.629
Date Thu, 30 Jan 2014 13:26:16 +0000 (GMT)
From Peter Clark <artomishka@yahoo.co.uk>
Subject end quote help for a newbie
To "python-list@python.org" <python-list@python.org>
MIME-Version 1.0
Content-Type multipart/alternative; boundary="123458835-44392808-1391088376=:73476"
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To Peter Clark <artomishka@yahoo.co.uk>
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.6133.1391088558.18130.python-list@python.org> (permalink)
Lines 31
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1391088558 news.xs4all.nl 2862 [2001:888:2000:d::a6]:37290
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:64995

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

There is probably an easy solution to this – but I have not found it.

Trying to terminate a literal in a print statement (from the 
tutorial).

The literal should be enclosed in double quotes “ “

the initial double quote seems to be OK (if I use a different character it 
flags it) but the ending is flagged as invalid syntax.  I have tried changing my 
keyboard from UK to USA, without any effect, and tried adding a space after the 
final double quote,

thanks for any assistance,

peter

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


Thread

end quote help for a newbie Peter Clark <artomishka@yahoo.co.uk> - 2014-01-30 13:26 +0000
  Re: end quote help for a newbie Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-01-30 14:40 +0000

csiph-web