Tuesday, January 3, 2012

Re: [YouTube-API] Problem with Entry.geo.location

On Fri, 2011-12-30 at 11:33 -0800, Mona Jalal wrote:
> Hi,
>
> I need to extract the video location but I receive SyntaxError:
> invalid synthax

SyntaxError is raised when what you have written is not valid python.


> loc = entry.geo.location()
> print loc

indentation is important - you probably want:

loc = entry.geo.location()
print loc

Tim Wintle

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment