mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-10-12 01:10:45 +00:00
python 3 syntax for example
This commit is contained in:
1 parent
4c2c1d763a
commit
ffa9995b0a
1 file changed
+1
-1
@@ -43,7 +43,7 @@ sp = spotipy.Spotify()
|
|||||||
|
|
||||||
results = sp.search(q='weezer', limit=20)
|
results = sp.search(q='weezer', limit=20)
|
||||||
for i, t in enumerate(results['tracks']['items']):
|
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).
|
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).
|
||||||
|
|||||||
Reference in new issue
Block a user