Re: [Tutor] How to Split a String

2009-08-08 Thread Kent Johnson
On Sat, Aug 8, 2009 at 2:33 PM, Paras K. wrote: > What I am trying to do is find the mail folder for our lotus notes files. > > I get it by doing the following: > > lotusnotesmaildir = glob.glob('C:\Documents and Settings/pkinariwala/Local > Settings/Application Data/lotus/notes/data/'+'*mail*/') >

Re: [Tutor] How to Split a String

2009-08-08 Thread Alan Gauld
"Paras K." wrote lotusnotesmaildir = glob.glob('C:\Documents and Settings/pkinariwala/Local Settings/Application Data/lotus/notes/data/'+'*mail*/') You don't need the plus. lotusnotesmaildir = glob.glob('C:\Documents and Settings/pkinariwala/Local Settings/Application Data/lotus/notes/data

[Tutor] How to Split a String

2009-08-08 Thread Paras K.
What I am trying to do is find the mail folder for our lotus notes files. I get it by doing the following: lotusnotesmaildir = glob.glob('C:\Documents and Settings/pkinariwala/Local Settings/Application Data/lotus/notes/data/'+'*mail*/') That returns: ['C:\\Documents and Settings/pkinariwala/Loc