Lichen

lib/os.py

292:436d7832ca66
2016-12-01 Paul Boddie Introduced the itemaccess class as the base of sequence types and strings. Added support for obtaining substrings from strings. Added tests of string operations. Removed the superfluous _tuple function from the sequence module.
     1 #!/usr/bin/env python     2      3 from posix import *     4 from genericos import *     5      6 import posixpath as path     7      8 from posixpath import (     9     altsep,    10     curdir,    11     defpath,    12     devnull,    13     extsep,    14     pardir,    15     pathsep,    16     sep    17     )    18     19 # vim: tabstop=4 expandtab shiftwidth=4