see docs.python.org/3/library/os.html
Also export everything of std/os
Exports
-
get_terminal_size, terminal_size, set_inheritable, get_inheritable, O_WRONLY, devnull, altsep, |=, O_EXCL, curdir, extsep, O_CREAT, linesep, O_RDWR, |, defpath, O_APPEND, O_RDONLY, pathsep, sep, name, O_TRUNC, pardir, O_CLOEXEC, TimePair, utime, unlink, SEEK_END, isatty, closerange, SEEK_HOLE, rename, symlink, stat, open, lseek, utime, rmdir, mkdir, remove, rmdir, stat_result, close, scandir, st_atime, mkdir, scandir, ftruncate, st_atime_ns, utime, fdopen, SEEK_SET, NsUnit, SEEK_DATA, SEEK_CUR, TimeNsPair, truncate, st_ctime, replace, st_mtime_ns, readlink, scandir, ., link, stat, st_mtime, scandir, st_ctime_ns, symlink, [], system, removedirs, getcwd, chdir, makedirs, getcwdb, normpath, fspath, raiseErrnoWithPath, substr, raiseFileNotFoundError, fspath, ==, str, getChar, getsize, +=, $, bytes, split, +=, items, osErrorMsgWithPath, altsep, substr, O_APPEND, raiseExcWithPath, mapPathLike, Serial, raiseFileNotFoundError, dirname, StringLike, getmtime, ==, noWeirdTarget, str, Version, O_WRONLY, +, bytes, ==, NoneType, str, +, +, PyMinor, pardir, asVersion, O_TRUNC, |=, O_CREAT, toNimString, +, repr, pathrepr, [], PySerial, $, linesep, runeAtPos, asVersion, sep, raiseErrno, isdir, +=, PyMajor, $, SystemExit, tryOsOp, raiseFileExistsError, getatime, contains, chars, PyBytes, splitdrive, bytes, TypeError, O_CLOEXEC, toNimString, bytes, devnull, +, len, isfile, [], +=, or, pybytes, toNimStr, repr, [], Patch, [], osErrorMsgWithPath, byteLen, getctime, raiseExcWithPath2, splitext, AttributeError, PyReleaseLevel, name, substr, PyStr, Minor, and, $, NotADirectoryError, basename, pathsAsOne, [], curdir, toPyStr, raiseExcWithPath, getCharPtr, islink, str, runeLenAt, str, CanIOOpenT, FileNotFoundError, fspath, pathsep, chars, PathLike, len, errnoMsg, toPyStr, @, extsep, defpath, contains, FileExistsError, toPyStr, asVersion, asVersion, pysince, not, raiseErrno, PyPatch, +=, runes, |, O_RDONLY, not, raiseErrnoWithPath, contains, getChar, None, bytes, +=, Major, samefile, hasChar, ==, +, +, pathrepr, IsADirectoryError, InJs, relpath, join, str, or, abspath, byteLen, items, [], len, mapPathLike, isabs, raiseExcWithPath, bytes, O_RDWR, O_EXCL, join, ReleaseLevel, fspath, raiseExcWithPath, bytes, isNotFound, bytes, $, OnErrorCb, walk, WalkRes, toTup, shallIgnore, repr, walk, walk, walk, [], listdir