Path: csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-1.proxad.net!hq-usenetpeers.eweka.nl!hq-usenetpeers.eweka.nl!bcyclone01.am1.xlned.com!bcyclone01.am1.xlned.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'read.': 0.03; 'subject:Python': 0.06; 'subject:Question': 0.07; 'subject:code': 0.07; 'dan': 0.09; 'strings.': 0.09; 'type,': 0.09; 'python': 0.11; 'language.': 0.14; '>on': 0.16; 'finds': 0.16; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'message-id:@cskk.homeip.net': 0.16; 'received:211.29': 0.16; 'received:211.29.132': 0.16; 'received:cskk.homeip.net': 0.16; 'received:homeip.net': 0.16; 'received:optusnet.com.au': 0.16; 'received:syd.optusnet.com.au': 0.16; 'simpson': 0.16; 'to:name:python list': 0.16; 'type)': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'header:User-Agent:1': 0.23; 'byte': 0.24; 'integer': 0.24; 'lets': 0.24; 'cheers,': 0.24; '15,': 0.26; 'header:In-Reply-To:1': 0.27; 'character': 0.29; "doesn't": 0.30; 'characters': 0.30; 'mix': 0.30; 'quotes': 0.31; 'subject:About': 0.31; "can't": 0.35; 'but': 0.35; 'really': 0.36; 'received:com.au': 0.36; 'right?': 0.36; 'ryan': 0.36; 'charset :us-ascii': 0.36; 'received:211': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'does': 0.39; 'quote': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'either': 0.39; 'content- disposition:inline': 0.62 Date: Thu, 16 Oct 2014 11:42:54 +1100 From: Cameron Simpson To: Python List Subject: Re: Question About Running Python code MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) References: X-Optus-CM-Score: 0 X-Optus-CM-Analysis: v=2.1 cv=fvDlOjIf c=1 sm=1 tr=0 a=YuQlxtEQCowy2cfE5kc7TA==:117 a=YuQlxtEQCowy2cfE5kc7TA==:17 a=ZtCCktOnAAAA:8 a=PO7r1zJSAAAA:8 a=LcaDllckn3IA:10 a=r5UFkecV8NkA:10 a=kj9zAlcOel0A:10 a=vrnE16BAAAAA:8 a=pGLkceISAAAA:8 a=GUMCJVmvMugDMzmOFzMA:9 a=CjuIK1q_8ugA:10 a=MSl-tDqOz04A:10 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1413421351 news.xs4all.nl 2977 [2001:888:2000:d::a6]:51203 X-Complaints-To: abuse@xs4all.nl X-Received-Body-CRC: 1439339799 X-Received-Bytes: 4059 Xref: csiph.com comp.lang.python:79190 On 15Oct2014 16:09, Dan Stromberg wrote: >On Wed, Oct 15, 2014 at 3:50 PM, ryguy7272 wrote: >> #1) That's very bizarre to mix single quotes and double quotes in a single >> language. Does Python actually mix single quotes and double quotes? > >I'm not sure what you mean by "mix". C uses single quotes and double >quotes, right? Yes, but it uses single quotes for characters (a single byte integer type) and double quotes for strings. Python doesn't really have a single character type, and lets the user use either quote mark as they see fit. Ryan finds this unfamiliar. Cheers, Cameron Simpson BTW, don't bother flaming me. I can't read. - afdenis@lims03.lerc.nasa.gov (Stephen Dennison)