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


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

Re: Invalid syntax with print "Hello World"

Started byjohannes.gunz97@gmail.com
First post2013-11-14 07:05 -0800
Last post2013-11-14 16:22 -0500
Articles 2 — 2 participants

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: Invalid syntax with print "Hello World" johannes.gunz97@gmail.com - 2013-11-14 07:05 -0800
    Re: Invalid syntax with print "Hello World" bob gailer <bgailer@gmail.com> - 2013-11-14 16:22 -0500

#59444 — Re: Invalid syntax with print "Hello World"

Fromjohannes.gunz97@gmail.com
Date2013-11-14 07:05 -0800
SubjectRe: Invalid syntax with print "Hello World"
Message-ID<e3c62b39-8e24-44da-8513-bc04e66d5e49@googlegroups.com>
Am Donnerstag, 12. März 2009 07:57:11 UTC+1 schrieb Henrik Bechmann:
> obviously total mewbiew:
> 
> My first program in Python Windows
> 
> print "Hello World"
> 
> I select Run/Run Module and get an error:
> 
> Syntax error, with the closing quote highlighted.
> 
> Tried with single quotes as well. Same problem.
> 
> Can someone explain my mistake?
> 
> Thanks,
> 
> - Henrik

thanx

[toc] | [next] | [standalone]


#59479

Frombob gailer <bgailer@gmail.com>
Date2013-11-14 16:22 -0500
Message-ID<mailman.2625.1384464143.18130.python-list@python.org>
In reply to#59444
On 11/14/2013 10:05 AM, johannes.gunz97@gmail.com wrote:
> Am Donnerstag, 12. März 2009 07:57:11 UTC+1 schrieb Henrik Bechmann:
>> obviously total mewbiew:
>>
>> My first program in Python Windows
>>
>> print "Hello World"
I assume you are running Python 3 in which case you need
> print("Hello World")

-- 
Bob Gailer
919-636-4239
Chapel Hill NC

[toc] | [prev] | [standalone]


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


csiph-web