pm215: (Default)

One of this year's Christmas presents was an iPod Shuffle. Now obviously Apple would like me to use iTunes, but since that's Windows and Mac only it's not much good to me. So I wrote a Python script called reshuffle instead. The idea is that I can just put the Shuffle in the USB cradle every so often, and the script will remove tracks I've heard and new add tracks from the PC. It keeps track of what's been played so I won't hear anything twice until it's been all the way through my entire music collection.

This is my second Python script, and I find that I really quite like it. It's easy to write without constantly going 'what was the syntax for that again?', the standard libraries are extensive, and language features like list comprehensions and 'with' mean it's not too hopelessly verbose. The language syntax reference documentation is not very helpful, but that's a minor nit.

June 2017

M T W T F S S
   12 3 4
567891011
12131415161718
1920212223 2425
2627282930  

Syndicate

RSS Atom

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 28th, 2017 12:13 am
Powered by Dreamwidth Studios