mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 09:13:53 +00:00
python 3 syntax for example
This commit is contained in:
parent
4c2c1d763a
commit
ffa9995b0a
@ -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).
|
||||
|
||||
Loading…
Reference in New Issue
Block a user