The cleaned up version chooses what function to call based on file extention. I use map.get() to pick a function, and use the open_music() function as the default. |
||
---|---|---|
.. | ||
__init__.py | ||
cache.py | ||
export.py | ||
files.py | ||
lastfm.py |
The cleaned up version chooses what function to call based on file extention. I use map.get() to pick a function, and use the open_music() function as the default. |
||
---|---|---|
.. | ||
__init__.py | ||
cache.py | ||
export.py | ||
files.py | ||
lastfm.py |