Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #79194
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin1!goblin.stu.neva.ru!news.astraweb.com!border2.a.newsrouter.astraweb.com!bcyclone03.am1.xlned.com!bcyclone03.am1.xlned.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <ian.g.kelly@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'languages.': 0.04; 'subject:Python': 0.06; 'perl,': 0.07; 'subject:Question': 0.07; 'subject:code': 0.07; 'dan': 0.09; 'interpreted': 0.09; 'strings.': 0.09; 'type,': 0.09; 'python': 0.11; 'language.': 0.14; '>>': 0.16; 'finds': 0.16; 'type)': 0.16; 'variants': 0.16; 'wrote:': 0.18; 'wed,': 0.18; '>>>': 0.22; 'email addr:gmail.com>': 0.22; '>>>': 0.24; 'byte': 0.24; 'integer': 0.24; 'lets': 0.24; '>': 0.26; '15,': 0.26; 'header :In-Reply-To:1': 0.27; 'character': 0.29; "doesn't": 0.30; 'characters': 0.30; 'mix': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'quotes': 0.31; 'subject:About': 0.31; 'languages': 0.32; 'common': 0.35; 'case,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'right?': 0.36; 'ryan': 0.36; 'skip:& 10': 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; 'between': 0.67; 'distinguish': 0.84; 'hardly': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=SZaHYWdWzHWT9DYAedTrbJ3rb7DnrTu0a9PzCDMwJv0=; b=TxmwyXHbb6l6W0mDiFcbrsJC6Leumq/AgJdB3S99FvXNI5Ed7/QJpJbu9fwmXD96Ng luW85GA252RE5bTo18gvuFqNjmOC76ijkme1r1R/lJlEE1Uj1g37F1KqkfgSeKROfMLk /x9NtQM2Z4sE11dmZd3eCYSqKdIVScLkMlKReBm8le1gtVYzeLAwG3t2oeDGEm5KjXMj /7lggyK2yDG6ynIm/VzWwpTqZRwlU8QiqRjTJXjU9Bx9knoCkEU+4f8f+Q496/2C9ac8 P7wELgccjF3YtVUE0u3uSWLNGTzJygoClkWFzOkWN+ErtnoP0ukJGojfFK5spJDYmvs4 MyLQ== |
| MIME-Version | 1.0 |
| X-Received | by 10.67.23.109 with SMTP id hz13mr16760055pad.48.1413423092021; Wed, 15 Oct 2014 18:31:32 -0700 (PDT) |
| In-Reply-To | <20141016004254.GA74782@cskk.homeip.net> |
| References | <CAGGBd_pBXYmoAQXBU2Tz4UGHRnHLA8BZJ36SsrK-6D2ifvD-5w@mail.gmail.com> <20141016004254.GA74782@cskk.homeip.net> |
| Date | Wed, 15 Oct 2014 19:31:31 -0600 |
| Subject | Re: Question About Running Python code |
| From | Ian Kelly <ian.g.kelly@gmail.com> |
| To | Python <python-list@python.org> |
| Content-Type | multipart/alternative; boundary=e89a8ffbad77513d6a05058035ca |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| 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.14907.1413423103.18130.python-list@python.org> (permalink) |
| Lines | 62 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1413423103 news.xs4all.nl 2847 [2001:888:2000:d::a6]:33785 |
| X-Complaints-To | abuse@xs4all.nl |
| X-Received-Bytes | 6039 |
| X-Received-Body-CRC | 2985772799 |
| Xref | csiph.com comp.lang.python:79194 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On Oct 15, 2014 7:04 PM, "Cameron Simpson" <cs@zip.com.au> wrote: > > 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. In any case, it's hardly bizarre; it's common among interpreted languages. Other languages that allow both single- and double-quote strings include ECMAScript and Lua. Perl, PHP and Ruby also have both variants but distinguish between them for interpolation.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Question About Running Python code Ian Kelly <ian.g.kelly@gmail.com> - 2014-10-15 19:31 -0600
csiph-web