John Machin <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> On 17 Apr 2005 18:12:19 -0700, [EMAIL PROTECTED] (Synonymous)
> wrote:
> 
> >
> >I will look for a Left$(str) function that looks at the first X
> >characters for python :)).
> >
> 
> Wild goose chase alert! AFAIK there isn't one. Python uses slice
> notation instead of left/mid/right/substr/whatever functions. I do
> suggest that instead of looking for such a beastie, you read this
> section of the Python Tutorial: 3.1.2 Strings. 
> 
> Then, if you think that that was a good use of your time, you might
> like to read the *whole* tutorial :))

Haha it always comes down to RTFM i guess, which is always the best
advice :o).

Thank you for your help, Now that I think about it I guess string is
exactly what I am looking for because even though I am using file
names I am treating them like strings when comparing them.

Byebye :o)

S M
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to