Re: [Tutor] Checking for Python version

2009-10-06 Thread Todd Zullinger
Christian Witts wrote: > Your version will fail if the person is running Python 3.0, 3.1 up > until the 3.3 series which is not good. Neater looking (imo) code > below. > > from sys import version_info, exit > > if version_info[0] == 1 or (version_info[0] == 2 and version_info[1] < 4): >exit("

Re: [Tutor] Please use plain text.

2009-04-07 Thread Todd Zullinger
bob gailer wrote: > Thanks for the request for clarification. By plain text I mean: > > one font and one size that is "readable". Most of the emails I > receive appear the same in font and size, so whatever that is I > like. What's readable to you may not be readable to the next person though. Mos

Re: [Tutor] Please use plain text.

2009-04-06 Thread Todd Zullinger
bob gailer wrote: > Please use plain text rather than formatted text. Was sending this request in an html formatted message intentional? I don't know about most folks, but I consider plain text to mean a content-type of text/plain rather than text/html. :) -- ToddOpenPGP -> KeyID: 0xBEA

Re: [Tutor] MP3Info class usage

2008-12-20 Thread Todd Zullinger
Terry Carroll wrote: > On Fri, 19 Dec 2008, Terry Carroll wrote: >> It would be nice if Eyed3, which is not OS-specific, did not have >> such an OS-specific install process. Perhaps. But someone who cares about windows support would have to submit patches. I don't know if Travis uses windows or

Re: [Tutor] MP3Info class usage

2008-12-18 Thread Todd Zullinger
Gareth at Serif wrote: > I've not installed it, I've just imported it in my main program. > How do you install eyeD3, there's no installation package? What OS are you running? I can help if you run some sort of *nix system. If you're on Windows, then I'll have to pass as I know nothing about ins

Re: [Tutor] MP3Info class usage

2008-12-15 Thread Todd Zullinger
Gareth at Serif wrote: > Okay, I've moved over to eyeD3.py... fif nothing else, the > documentation for it's usage is far superior. > > However, I can't get anything to run. The help gives examples of > some simple tasks, but as soon as I 'import eyeD3', not even calling > any functions within it

Re: [Tutor] MP3Info class usage

2008-12-10 Thread Todd Zullinger
Gareth at Serif wrote: > Has anyone any better suggestions for retreiving ID3 tags from an > MP3 file using python? I'd recommend eyeD3¹ and/or mutagen² for tag reading. Both are pretty easy to use. ¹ http://eyed3.nicfit.net/ ² http://code.google.com/p/quodlibet/wiki/Development/Mutagen -- Tod

Re: [Tutor] Python open of c:\ path Problem

2008-08-23 Thread Todd Zullinger
Kent Johnson wrote: > The \ character is a special 'escape' character that is used to insert > non-printing characters into a string. \t represents a single tab > character, not the two characters \ and t. > > To put an actual backslash into a string, you can either double it: > 'c:\\tmp\\junkpyth