From ffa9995b0af3765cfc2830f18c883e47bea011b0 Mon Sep 17 00:00:00 2001 From: gwynnebaer Date: Fri, 13 Oct 2017 10:24:53 -0700 Subject: [PATCH] python 3 syntax for example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 09d3a1f..77a10a2 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ sp = spotipy.Spotify() results = sp.search(q='weezer', limit=20) for i, t in enumerate(results['tracks']['items']): - print ' ', i, t['name'] + print(' ', i, t['name']) ``` A full set of examples can be found in the [online documentation](http://spotipy.readthedocs.org/) and in the [Spotipy examples directory](https://github.com/plamere/spotipy/tree/master/examples).