syntax error : first python program

Erik Max Francis max at alcyone.com
Wed Dec 23 00:00:55 EST 2009


pradeep wrote:
> I have this file in linux
> ===============
> 
> sample.py
> 
> #!/usr/bin/env python
>     name = "blah"
>     print name
	...
> Any one knows , whats the syntax error here?

You're indenting for no reason.

-- 
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
  San Jose, CA, USA && 37 18 N 121 57 W && AIM/Y!M/Skype erikmaxfrancis
   Walk a mile in my shoes / And you'd be crazy too
    -- Tupac Shakur



More information about the Python-list mailing list