trying on production (my real dir :-))
[pauldeden-misc.git] / setup_scriptures_for_mp3_player.py
blob50423bf98d24f35e6a430c48c9b438c70b1c1b9e
1 #!/usr/bin/python
3 import os
4 import sys
6 files = sys.argv[1:]
8 for f in files:
9 mp3file = f
10 wavfile = f.replace(".mp3",".wav")
11 os.system(""" mpg123 -w %s %s """ % (wavfile, mp3file))
12 os.remove(mp3file)
13 os.system(""" lame -f %s %s """ % (wavfile, mp3file))
14 os.remove(wavfile)