Module Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore NameLoad Import alias alias alias TryExcept body Import alias handlers ExceptHandler type NameLoad body ClassDef bases body FunctionDef arguments args defaults vararg body Raise NameLoad Str decorator_list Assign NameStore NameLoad decorator_list Assign NameStore Call NameLoad Assign ListStore NameStore NameStore Call NameLoad Num Assign NameStore ListLoad Str Str Str Str Str Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BoolOpAnd NameLoad CompareEq SubscriptLoad NameLoad Slice Num Str If NameLoad body Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad Str Num Num orelse If CompareEq SubscriptLoad NameLoad Slice Num Str body Assign NameStore Num orelse Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad Str Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str If BoolOpOr CompareEq NameLoad Num CompareGt NameLoad NameLoad body Assign NameStore NameLoad orelse For NameStore SubscriptLoad NameLoad Slice NameLoad NameLoad body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Assign NameStore Num Break Assign NameStore NameLoad If CompareEq SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num Str body Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad Str BinOpAdd NameLoad Num Num If CompareEq NameLoad Num body Assign NameStore Call NameLoad NameLoad Return TupleLoad SubscriptLoad NameLoad Slice NameLoad SubscriptLoad NameLoad Slice NameLoad NameLoad SubscriptLoad NameLoad Slice NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad Return BoolOpOr CompareNotEq NameLoad Str CompareIn SubscriptLoad NameLoad Slice Num NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str Assign NameStore NameLoad For NameStore NameLoad body Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad If BoolOpOr CompareEq NameLoad Str CompareNotEq NameLoad Str CompareNotEq NameLoad Str CompareIn SubscriptLoad NameLoad Slice Num NameLoad body Assign NameStore NameLoad orelse If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore BinOpAdd NameLoad NameLoad orelse Assign NameStore BinOpAdd BinOpAdd NameLoad Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str If CompareNotEq NameLoad Num body Return TupleLoad BinOpAdd BinOpAdd NameLoad NameLoad SubscriptLoad NameLoad Slice NameLoad SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num Return TupleLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call NameLoad NameLoad If CompareIn Str NameLoad body Assign NameStore BinOpSub Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Str Return TupleLoad SubscriptLoad NameLoad Slice UnaryOpUSub NameLoad SubscriptLoad NameLoad Slice UnaryOpUSub NameLoad Return TupleLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad Return TupleLoad BinOpAdd NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return SubscriptLoad Call NameLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return SubscriptLoad Call NameLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot NameLoad body Return Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad For NameStore Call NameLoad NameLoad body If CompareNotEq SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad body Return SubscriptLoad NameLoad Slice NameLoad Return SubscriptLoad NameLoad Slice NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return SubscriptLoad NameLoad Index AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return SubscriptLoad NameLoad Index AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return CompareNotEq Call AttributeLoad NameLoad attr Str Str NameLoad Num handlers ExceptHandler type AttributeLoad NameLoad attr body Return Num decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return CompareIn Call AttributeLoad NameLoad attr Str Str NameLoad ListLoad Num Num handlers ExceptHandler type AttributeLoad NameLoad attr body Return Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return CompareIn Call AttributeLoad NameLoad attr Str Str NameLoad ListLoad Num Num handlers ExceptHandler type AttributeLoad NameLoad attr body Return Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Str Num NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Num NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return CompareEq SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareNotEq SubscriptLoad NameLoad Slice Num Str body Return NameLoad If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Num NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr orelse If CompareEq SubscriptLoad NameLoad Slice Num Str body Assign NameStore SubscriptLoad NameLoad Slice Num Num orelse Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Str Num Index Num Assign NameStore Call AttributeLoad NameLoad attr Str Str Num NameLoad NameLoad NameLoad If CompareLt NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num BinOpSub BinOpSub NameLoad NameLoad Num orelse Assign NameStore Call AttributeLoad NameLoad attr Str Str Num NameLoad NameLoad NameLoad If CompareLt NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num BinOpSub BinOpSub NameLoad NameLoad Num orelse Assign NameStore Str Return BinOpAdd BinOpAdd BinOpAdd NameLoad Str NameLoad SubscriptLoad NameLoad Slice Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Str Str NameLoad NameLoad NameLoad decorator_list Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad Assign NameStore Str Assign NameStore Num While CompareNotEq NameLoad Str body Assign TupleStore NameStore NameStore Call NameLoad NameLoad If CompareEq NameLoad Str body Assign NameStore BinOpAdd NameLoad Num orelse If CompareGt NameLoad Num body Assign NameStore BinOpSub NameLoad Num orelse If CompareEq NameLoad Str body Assign NameStore NameLoad orelse Assign NameStore BinOpAdd BinOpAdd NameLoad Str NameLoad While CompareGt NameLoad Num body Assign NameStore BinOpSub NameLoad Num Assign NameStore BinOpAdd Str NameLoad Return BinOpAdd BinOpAdd NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Return Expr Call NameLoad NameLoad NameLoad NameLoad For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad If BoolOpAnd Call NameLoad NameLoad UnaryOpNot Call NameLoad NameLoad body Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list
N/A N/A 
Instead of importing this module directly, import os and refer to this module
as os.path.
 N/A curdir @ N/A pardir ^ N/A extsep / N/A sep . N/A pathsep , N/A defpath <Run$Dir> N/A altsep None N/A os stat string N/A N/A N/A swi N/A N/A N/A ImportError N/A _swi N/A N/A swi N/A N/A N/A a N/A N/A AttributeError This function only available under RISC OS N/A N/A block swi N/A N/A swi N/A _swi N/A N/A _false _true N/A range 2 N/A _roots N/A $ & % @ \ N/A _allowMOSFSNames _false _split N/A N/A p N/A N/A N/A 
  split filing system name (including special field) and drive specifier from rest
  of path. This is needed by many riscospath functions.
   N/A dash N/A _allowMOSFSNames N/A N/A p N/A 1 - N/A dash N/A N/A q N/A N/A N/A string find p - 1 1 N/A N/A N/A N/A p N/A 1 : N/A N/A q 0 N/A N/A q N/A N/A N/A string find p : 1 N/A s N/A N/A string find p # N/A N/A N/A s -1 N/A s q N/A N/A s q N/A N/A c N/A p N/A dash s N/A N/A N/A c N/A string ascii_letters N/A N/A q 0 N/A N/A r q N/A N/A N/A p N/A q N/A q 1 : N/A N/A r N/A N/A N/A string find p . N/A q 1 1 N/A N/A r 0 N/A N/A r N/A len p N/A N/A N/A p N/A q N/A p N/A q r N/A p N/A r N/A normcase N/A N/A p N/A N/A N/A 
  Normalize the case of a pathname. This converts to lowercase as the native RISC
  OS filesystems are case-insensitive. However, not all filesystems have to be,
  and there's no simple way to find out what type an FS is argh.
   N/A N/A N/A string lower p N/A isabs N/A N/A p N/A N/A N/A 
  Return whether a path is absolute. Under RISC OS, a file system specifier does
  not make a path absolute, but a drive name or number does, and so does using the
  symbol for root, URD, library, CSD or PSD. This means it is perfectly possible
  to have an "absolute" URL dependent on the current working directory, and
  equally you can have a "relative" URL that's on a completely different device to
  the current one argh.
   N/A N/A fs drive path N/A _split p N/A N/A N/A drive N/A N/A path N/A 1 _roots N/A join N/A N/A a N/A p N/A N/A 
  Join path elements with the directory separator, replacing the entire path when
  an absolute or FS-changing path part is found.
   N/A j a N/A b p N/A N/A N/A fs drive path N/A _split b N/A N/A N/A j N/A fs N/A drive N/A N/A path N/A 1 _roots N/A N/A j b N/A N/A N/A N/A j N/A -1 : N/A N/A j N/A j b N/A N/A j N/A N/A j . b N/A j N/A split N/A N/A p N/A N/A N/A 
  Split a path in head (everything up to the last '.') and tail (the rest). FS
  name must still be dealt with separately since special field may contain '.'.
   N/A N/A fs drive path N/A _split p N/A q N/A N/A string rfind path . N/A N/A q -1 N/A N/A N/A N/A N/A fs drive N/A path N/A q N/A path N/A N/A q 1 N/A N/A p N/A splitext N/A N/A p N/A N/A N/A 
  Split a path in root and extension. This assumes the 'using slash for dot and
  dot for slash with foreign files' convention common in RISC OS is in force.
   N/A N/A tail head N/A split p N/A N/A / head N/A N/A q N/A N/A len head N/A N/A string rfind head / N/A N/A N/A p N/A N/A q N/A p N/A N/A q N/A N/A p N/A splitdrive N/A N/A p N/A N/A N/A 
  Split a pathname into a drive specification (including FS name) and the rest of
  the path. The terminating dot of the drive name is included in the drive
  specification.
   N/A N/A fs drive path N/A _split p N/A N/A N/A fs drive p N/A basename N/A N/A p N/A N/A N/A 
  Return the tail (basename) part of a path.
   N/A N/A N/A split p N/A 1 N/A dirname N/A N/A p N/A N/A N/A 
  Return the head (dirname) part of a path.
   N/A N/A N/A split p N/A 0 N/A commonprefix N/A N/A m N/A N/A N/A Given a list of pathnames, returns the longest common leading component N/A N/A m N/A N/A N/A s1 N/A min m N/A s2 N/A max m N/A n N/A min N/A len s1 N/A len s2 N/A i N/A xrange n N/A N/A N/A N/A s1 N/A i N/A s2 N/A i N/A N/A N/A s1 N/A i N/A N/A s1 N/A n N/A getsize N/A N/A p N/A N/A N/A 
  Return the size of a file, reported by os.stat().
   N/A st N/A N/A os stat p N/A N/A st N/A N/A stat ST_SIZE N/A getmtime N/A N/A p N/A N/A N/A 
  Return the last modification time of a file, reported by os.stat().
   N/A st N/A N/A os stat p N/A N/A st N/A N/A stat ST_MTIME N/A N/A getatime getmtime exists N/A N/A p N/A N/A N/A 
  Test whether a path exists.
   N/A N/A N/A N/A N/A N/A swi swi OS_File 5s;i p 0 N/A N/A N/A N/A swi error N/A N/A 0 N/A N/A lexists exists isdir N/A N/A p N/A N/A N/A 
  Is a path a directory? Includes image files.
   N/A N/A N/A N/A N/A N/A swi swi OS_File 5s;i p N/A 2 3 N/A N/A N/A N/A swi error N/A N/A 0 N/A isfile N/A N/A p N/A N/A N/A 
  Test whether a path is a file, including image files.
   N/A N/A N/A N/A N/A N/A swi swi OS_File 5s;i p N/A 1 3 N/A N/A N/A N/A swi error N/A N/A 0 N/A islink N/A N/A p N/A N/A N/A 
  RISC OS has no links or mounts.
   N/A _false N/A N/A ismount islink samefile N/A N/A fa fb N/A N/A N/A 
  Test whether two pathnames reference the same actual file.
   N/A l 512 N/A b N/A N/A swi block l N/A N/A N/A swi swi OS_FSControl isb..i 37 fa b l N/A fa N/A N/A b ctrlstring N/A N/A N/A swi swi OS_FSControl isb..i 37 fb b l N/A fb N/A N/A b ctrlstring N/A N/A fa fb N/A sameopenfile N/A N/A a b N/A N/A N/A 
  Test whether two open file objects reference the same file.
   N/A N/A N/A N/A N/A os fstat a N/A N/A stat ST_INO N/A N/A N/A os fstat b N/A N/A stat ST_INO N/A expanduser N/A N/A p N/A N/A N/A N/A fs drive path N/A _split p N/A l 512 N/A b N/A N/A swi block l N/A N/A N/A path N/A 1 @ N/A N/A p N/A N/A fs N/A N/A fsno N/A N/A swi swi OS_Args 00;i N/A N/A N/A swi swi OS_FSControl iibi 33 fsno b l N/A fsname N/A N/A b ctrlstring N/A N/A N/A N/A fs N/A 1 - N/A N/A fsname N/A fs N/A 1 -1 N/A N/A fsname N/A fs N/A -1 N/A fsname N/A N/A N/A string split fsname # 1 N/A 0 N/A x N/A N/A swi swi OS_FSControl ib2s.i;.....i 54 b fsname l N/A N/A x l N/A N/A urd N/A N/A b tostring 0 N/A N/A l x 1 N/A N/A x N/A N/A swi swi OS_FSControl ib0s.i;.....i 54 b fsname l N/A N/A x l N/A N/A urd N/A N/A b tostring 0 N/A N/A l x 1 N/A N/A urd $ N/A N/A N/A N/A fsname : urd N/A path N/A 1 N/A expandvars N/A N/A p N/A N/A N/A 
  Expand environment variables using OS_GSTrans.
   N/A l 512 N/A b N/A N/A swi block l N/A N/A N/A b tostring 0 N/A N/A swi swi OS_GSTrans sbi;..i p b l N/A N/A abspath N/A os expand N/A realpath abspath normpath N/A N/A p N/A N/A N/A 
  Normalize path, eliminating up-directory ^s.
   N/A N/A fs drive path N/A _split p N/A rhs N/A ups 0 N/A N/A path N/A N/A N/A path el N/A split path N/A N/A el ^ N/A N/A ups N/A ups 1 N/A N/A N/A ups 0 N/A N/A ups N/A ups 1 N/A N/A N/A rhs N/A N/A rhs el N/A N/A rhs N/A N/A el . rhs N/A N/A ups 0 N/A N/A ups N/A ups 1 N/A rhs N/A ^. rhs N/A N/A N/A fs drive rhs N/A walk N/A N/A top func arg N/A N/A N/A Directory tree walk with callback function.

    For each directory in the directory tree rooted at top (including top
    itself, but excluding '.' and '..'), call func(arg, dirname, fnames).
    dirname is the name of the directory, and fnames a list of the names of
    the files and subdirectories in dirname (excluding '.' and '..').  func
    may modify the fnames list in-place (e.g. via del or slice assignment),
    and walk will only recurse into the subdirectories whose names remain in
    fnames; this can be used to implement a filter, or to impose a specific
    order of visiting.  No semantics are defined for, or required of, arg,
    beyond that arg is always passed to func.  It can be used, e.g., to pass
    a filename pattern, or a mutable object designed to accumulate
    statistics.  Passing None for arg is common. N/A N/A N/A names N/A N/A os listdir top N/A N/A N/A N/A os error N/A N/A N/A N/A func arg top names N/A name names N/A N/A name N/A join top name N/A N/A N/A isdir name N/A N/A islink name N/A N/A N/A walk name func arg N/A