[Tutor] Newbie Wondering About Threads

Damon Timm damontimm at gmail.com
Mon Dec 8 03:46:00 CET 2008


On Sun, Dec 7, 2008 at 9:35 PM, Kent Johnson <kent37 at tds.net> wrote:
> There is no need to include both the flac file name and the mp3 file
> name if the roots match. You can use os.path functions to split the
> extension or the quick-and-dirty way:
>  mp3file = flacfile.rsplit('.', 1)[0] + '.mp3'

That is *so* what I was looking for!

You guys are awesome.

Damon

>
> Kent
>


More information about the Tutor mailing list