Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os.path
- for path in ['one//two//three',
- 'one/ ./two/ ./three',
- 'one/ ../alt/two/three',
- ]:
- print '%20s : %s' % (path, os.path.normpath(path))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement