arnodel at googlemail.com
Tue Sep 18 20:46:39 CEST 2007
On Sep 18, 7:33 pm, kou... at hotmail.com wrote:
> On Sep 18, 1:31 pm, "Shawn Milochik" <Sh... at Milochik.com> wrote:
> > On 9/18/07, kou... at hotmail.com <kou... at hotmail.com> wrote:
> > > If I have a file name: AVC1030708.14. How do I strip out certain
> > > characters from the file name? I am so used to using MID, LEFT, and
> > > RIGHT functions, that I have no idea how to do this in python? I have
> > > had trouble as well with most newbies on finding the help. But I have
> > > used the command line built in help, but with no luck. Thanks.
> > > Kou
> > Do you want to strip out specific characters, characters in specific
> > positions, or characters matching certain patterns?
> Yes, I want specific characters in specific positions.
The tutorial is a good place to start. Read this section:
More information about the Python-list