2013-06-07から1日間の記事一覧
mp3プレイヤーの再生順番がファイル名順なのだが、これをランダムソートしたくなったのでpythonで書いた import string, os, random for f in os.listdir("."): os.rename(f, random.choice(string.letters)+f)
mp3プレイヤーの再生順番がファイル名順なのだが、これをランダムソートしたくなったのでpythonで書いた import string, os, random for f in os.listdir("."): os.rename(f, random.choice(string.letters)+f)