seqInfo

class seqInfo.seqInfo(seq, optional curFrame)

where is: seq: arg is the sequence filename

Returns:
isSeq, True: if this is a sequence,
or a Padded file

False: otherwise

baseDir, Base Dir for the (seq) baseFileName, Base filename with neither extention

nor padding

ext, Sequence Extention pad, Padding n start, Sequence Start end, Sequence End padPtrn, The pattern %0?d padPtrn2, The pattern #### padPtrn3, The pattern ???? ‘usefull when

searching for files in system’

seqForm The full sequence name in padPtrn seqForm2 The full sequence name in padPtrn2 seqForm3 The full sequence name in padPtrn3 file The full filepath for a file at a given

frame number
err False if Ok,
str Error otherwise

Example: fileIn = seqInfo(‘/home/belal/snakeInSand.0001.ass’) if fileIn.isSeq:

print fileIn.baseDir print fileIn.baseFileName print fileIn.padPtrn print fileIn.seqExt print fileIn.padding print fileIn.seqStart print fileIn.seqEnd