Hi,
I'm looking for a Python library function that provides the same
functionality as the `which' command--namely, search the $PATH
variable for a given string and see if it exists anywhere within. I
currently examine the output from `which' itself, but I would like
something more portable. I loo
I'm wondering what is the canonical usage of the keywords 'is' and
'not' when you're writing conditionals and loops. The one I've been
following is completely arbitrary--I use the symbols '==', '!=' for
numerical comparisons and the words 'is', 'not' for everything else.
Thanks in advance!
--
http
On Apr 29, 4:50 pm, Arnaud Delobelle <[EMAIL PROTECTED]> wrote:
> destroy <[EMAIL PROTECTED]> writes:
> > Hi folks,
> > I'm finding some (what I consider) curious behavior with the string
> > methods and the forward slash character. I'm writing
On Apr 29, 4:50 pm, Arnaud Delobelle <[EMAIL PROTECTED]> wrote:
> destroy <[EMAIL PROTECTED]> writes:
> > Hi folks,
> > I'm finding some (what I consider) curious behavior with the string
> > methods and the forward slash character. I'm writing
Hi folks,
I'm finding some (what I consider) curious behavior with the string
methods and the forward slash character. I'm writing a program to
rename mp3 files based on their id3 tags, and I want to protect
against goofy characters in the in tags. So I do the following:
unsafe_chars = "/#()[EMA