Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #98860
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Tim Chase <python.list@tim.thechases.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: Why won't this run? |
| Date | Sun, 15 Nov 2015 14:55:45 -0600 |
| Lines | 25 |
| Message-ID | <mailman.353.1447621048.16136.python-list@python.org> (permalink) |
| References | <ea4e1c5e-08e8-4a75-95ce-9e4eeca92021@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=US-ASCII |
| Content-Transfer-Encoding | 7bit |
| X-Trace | news.uni-berlin.de Lzs5nEARLmzGfLJwonaYywpoAsUbpkrBpOBGmiJJpg+Q== |
| Return-Path | <python.list@tim.thechases.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; 'win32': 0.03; 'error:': 0.05; 'cc:addr:python-list': 0.09; 'subject:Why': 0.09; 'python': 0.10; 'syntax': 0.13; '#this': 0.16; '-tkc': 0.16; '12:38,': 0.16; 'from:addr:python.list': 0.16; 'from:addr:tim.thechases.com': 0.16; 'from:name:tim chase': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:run': 0.16; 'syntaxerror:': 0.16; 'wrote:': 0.16; 'shell': 0.18; '>>>': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; '"",': 0.22; 'sep': 0.22; 'cc:no real name:2**0': 0.22; 'bit': 0.23; 'header:In-Reply-To:1': 0.24; 'linux': 0.26; 'skip:( 20': 0.28; 'asks': 0.29; 'colon': 0.29; 'certainly': 0.30; 'says': 0.32; 'file': 0.34; 'subject:?': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'charset:us-ascii': 0.37; 'more': 0.63; 'received:50': 0.66; 'starters,': 0.84; 'subject:this': 0.85; '2014,': 0.91 |
| X-Sender-Id | wwwh|x-authuser|tim@thechases.com |
| X-Sender-Id | wwwh|x-authuser|tim@thechases.com |
| X-MC-Relay | Neutral |
| X-MailChannels-SenderId | wwwh|x-authuser|tim@thechases.com |
| X-MailChannels-Auth-Id | wwwh |
| X-MC-Loop-Signature | 1447621036105:4197187344 |
| X-MC-Ingress-Time | 1447621036105 |
| In-Reply-To | <ea4e1c5e-08e8-4a75-95ce-9e4eeca92021@googlegroups.com> |
| X-Mailer | Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) |
| X-AuthUser | tim@thechases.com |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| 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> |
| Xref | csiph.com comp.lang.python:98860 |
Show key headers only | View raw
On 2015-11-15 12:38, jbak36 wrote:
> Python 3.5.0 (v3.5.0:374f501f4567, Sep 13 2015, 02:27:37) [MSC
> v.1900 64 bit (AMD64)] on win32 Type "copyright", "credits" or
> "license()" for more information.
> >>> #this program says hello and asks for my name
> >>> print:('Hello world!')
> Hello world!
Well, for starters, you're almost certainly not copy/pasting from the
shell session as the colon after the "print" is a syntax error:
Python 3.4.2 (default, Oct 8 2014, 10:45:20)
[GCC 4.9.1] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> print:('hellow world!')
File "<stdin>", line 1
print:('hellow world!')
^
SyntaxError: invalid syntax
-tkc
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Why won't this run? jbak36 <j.bak36@gmail.com> - 2015-11-15 12:38 -0800 Re: Why won't this run? Tim Chase <python.list@tim.thechases.com> - 2015-11-15 14:55 -0600 Re: Why won't this run? Gary Herron <gherron@digipen.edu> - 2015-11-15 12:50 -0800 Re: Why won't this run? Mike S <mscir@yahoo.com> - 2015-11-19 19:26 -0800
csiph-web