Manipulate Files And Directory Easily With Path.py (on Pys60)
I really like Jason Orendorff's path.py. So, I modify it a bit to use with pys60. - don't load fnmatch, glob, codecs - remove some functionalities and some docstrings - match wildcard with regexp simplisticly
#return fnmatch.fnmatch(self.name, pattern) # poor man's fnmatch pattern = pattern.replace('.', '\\.').replace('*','.*').replace('?','.') return re.match(pattern, self.name)But most of it works nicely. Please report bugs in comments. Download it here path.py.