Re: Invalid syntax with print "Hello World"

2013-11-14 Thread unknown
On Thu, 14 Nov 2013 07:05:08 -0800, johannes.gunz97 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 select Run/Run Module and get an error: >> >> Syntax error, w

Re: Invalid syntax with print "Hello World"

2013-11-14 Thread bob gailer
On 11/14/2013 10:05 AM, johannes.gun...@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

Re: Invalid syntax with print "Hello World"

2013-11-14 Thread johannes . gunz97
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 wel

Re: Invalid syntax with print "Hello World"

2013-04-13 Thread andygong . happy
On Thursday, March 12, 2009 3:25:53 PM UTC+8, John Machin wrote: > On Mar 12, 5:57 pm, Henrik Bechmann wrote: > > obviously total mewbiew: > > > > My first program in Python Windows > > What is that you are callind "Python Windows"? What version of Python > are you running? > > 2.X: print "Hello

Re: Invalid syntax with print "Hello World"

2009-03-12 Thread Luis Zarrabeitia
On Thursday 12 March 2009 07:45:55 am Dotan Cohen wrote: > I do not think that is the best way to go about learning Python. Why > learn an arguably depreciating version when the new version is > available. Because it is not only the language that matters, you also need the libraries to accomplis

Re: Invalid syntax with print "Hello World"

2009-03-12 Thread Henrik Bechmann
On Mar 12, 7:45 am, Dotan Cohen wrote: > > Welcome to the list.  As a newbie myself, I ran into the Python3 vrs > > 2.6 issue.  May I suggest starting with 2.6?  There is many more books > > and internet stuff you can learn with in 2.6 - and the examples will > > work. As Garry wrote, once you und

Re: Invalid syntax with print "Hello World"

2009-03-12 Thread Paul Boddie
On 12 Mar, 12:45, Dotan Cohen wrote: > [starting with 2.6] > I do not think that is the best way to go about learning Python. Why > learn an arguably depreciating version when the new version is > available. I agree that there are not many tutorial written for Python > 3 however there are enough

Re: Invalid syntax with print "Hello World"

2009-03-12 Thread Dotan Cohen
> Welcome to the list.  As a newbie myself, I ran into the Python3 vrs > 2.6 issue.  May I suggest starting with 2.6?  There is many more books > and internet stuff you can learn with in 2.6 - and the examples will > work. As Garry wrote, once you understand 2.6, 3.0 will not be a > challenge. > I

Re: Invalid syntax with print "Hello World"

2009-03-12 Thread steven.oldner
On Mar 12, 2:25 am, John Machin wrote: > On Mar 12, 5:57 pm, Henrik Bechmann wrote: > > > obviously total mewbiew: > > > My first program in Python Windows > > What is that you are callind "Python Windows"? What version of Python > are you running? > > 2.X: print "Hello World" > should work. > >

Re: Invalid syntax with print "Hello World"

2009-03-12 Thread John Machin
On Mar 12, 5:57 pm, Henrik Bechmann wrote: > obviously total mewbiew: > > My first program in Python Windows What is that you are callind "Python Windows"? What version of Python are you running? 2.X: print "Hello World" should work. 3.X: print is now a function, print("Hello World") should wor

Re: Invalid syntax with print "Hello World"

2009-03-12 Thread Daniel Fetchinson
> 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? Are you using python

Re: Invalid syntax with print "Hello World"

2009-03-12 Thread Gary Herron
Henrik Bechmann wrote: 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? You are app