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


Groups > comp.lang.python > #79190 > unrolled thread

Re: Question About Running Python code

Started byCameron Simpson <cs@zip.com.au>
First post2014-10-16 11:42 +1100
Last post2014-10-16 11:42 +1100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Question About Running Python code Cameron Simpson <cs@zip.com.au> - 2014-10-16 11:42 +1100

#79190 — Re: Question About Running Python code

FromCameron Simpson <cs@zip.com.au>
Date2014-10-16 11:42 +1100
SubjectRe: Question About Running Python code
Message-ID<mailman.14903.1413421351.18130.python-list@python.org>
On 15Oct2014 16:09, Dan Stromberg <drsalists@gmail.com> wrote:
>On Wed, Oct 15, 2014 at 3:50 PM, ryguy7272 <ryanshuell@gmail.com> 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 <cs@zip.com.au>

BTW, don't bother flaming me. I can't read.
         - afdenis@lims03.lerc.nasa.gov (Stephen Dennison)

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web