diff options
author | hut <hut@lavabit.com> | 2010-02-16 01:56:21 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-02-16 02:03:46 +0100 |
commit | 34a60763e79546e0f84e30fbcc430632f3dbb39e (patch) | |
tree | 595579022daa922b3e4945928b4478c0797b3b2c /doc/pydoc/os.path.html | |
parent | 0654d6d093f8e78033b9dcafcb52bbdcd92aed0c (diff) | |
download | ranger-34a60763e79546e0f84e30fbcc430632f3dbb39e.tar.gz |
incremented version number and updated pydoc html files v1.0.3
Diffstat (limited to 'doc/pydoc/os.path.html')
-rw-r--r-- | doc/pydoc/os.path.html | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/doc/pydoc/os.path.html b/doc/pydoc/os.path.html index a5b893f5..f62cddae 100644 --- a/doc/pydoc/os.path.html +++ b/doc/pydoc/os.path.html @@ -1,6 +1,6 @@ + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><title>Python: module posixpath</title> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head><body bgcolor="#f0f0f8"> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> @@ -8,7 +8,7 @@ <td valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong>posixpath</strong></big></big></font></td ><td align=right valign=bottom -><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/usr/lib/python3.1/posixpath.py">/usr/lib/python3.1/posixpath.py</a><br><a href="http://docs.python.org/library/posixpath">Module Docs</a></font></td></tr></table> +><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/usr/lib/python2.6/posixpath.py">/usr/lib/python2.6/posixpath.py</a><br><a href="http://docs.python.org/library/posixpath">Module Docs</a></font></td></tr></table> <p><tt>Common operations on Posix pathnames.<br> <br> Instead of importing this module directly, import os and refer to<br> @@ -29,7 +29,7 @@ for manipulation of the pathname component of  <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="genericpath.html">genericpath</a><br> </td><td width="25%" valign=top><a href="os.html">os</a><br> </td><td width="25%" valign=top><a href="stat.html">stat</a><br> -</td><td width="25%" valign=top><a href="sys.html">sys</a><br> +</td><td width="25%" valign=top><a href="warnings.html">warnings</a><br> </td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#eeaa77"> @@ -63,7 +63,7 @@ will be discarded.</tt></dd></dl> <dl><dt><a name="-normpath"><strong>normpath</strong></a>(path)</dt><dd><tt>Normalize path, eliminating double slashes, etc.</tt></dd></dl> <dl><dt><a name="-realpath"><strong>realpath</strong></a>(filename)</dt><dd><tt>Return the canonical path of the specified filename, eliminating any<br> symbolic links encountered in the path.</tt></dd></dl> - <dl><dt><a name="-relpath"><strong>relpath</strong></a>(path, start<font color="#909090">=None</font>)</dt><dd><tt>Return a relative version of a path</tt></dd></dl> + <dl><dt><a name="-relpath"><strong>relpath</strong></a>(path, start<font color="#909090">='.'</font>)</dt><dd><tt>Return a relative version of a path</tt></dd></dl> <dl><dt><a name="-samefile"><strong>samefile</strong></a>(f1, f2)</dt><dd><tt>Test whether two pathnames reference the same actual file</tt></dd></dl> <dl><dt><a name="-sameopenfile"><strong>sameopenfile</strong></a>(fp1, fp2)</dt><dd><tt>Test whether two open file objects reference the same file</tt></dd></dl> <dl><dt><a name="-samestat"><strong>samestat</strong></a>(s1, s2)</dt><dd><tt>Test whether two stat buffers reference the same file</tt></dd></dl> @@ -75,6 +75,19 @@ empty.</tt></dd></dl> <br> Extension is everything from the last dot to the end, ignoring<br> leading dots. Returns "(root, ext)"; ext may be empty.</tt></dd></dl> + <dl><dt><a name="-walk"><strong>walk</strong></a>(top, func, arg)</dt><dd><tt>Directory tree walk with callback function.<br> + <br> +For each directory in the directory tree rooted at top (including top<br> +itself, but excluding '.' and '..'), call func(arg, dirname, fnames).<br> +dirname is the name of the directory, and fnames a list of the names of<br> +the files and subdirectories in dirname (excluding '.' and '..'). func<br> +may modify the fnames list in-place (e.g. via del or slice assignment),<br> +and walk will only recurse into the subdirectories whose names remain in<br> +fnames; this can be used to implement a filter, or to impose a specific<br> +order of visiting. No semantics are defined for, or required of, arg,<br> +beyond that arg is always passed to func. It can be used, e.g., to pass<br> +a filename pattern, or a mutable object designed to accumulate<br> +statistics. Passing None for arg is common.</tt></dd></dl> </td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#55aa55"> @@ -82,7 +95,7 @@ leading dots. Returns "(root, ext)"; ext may <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> -<td width="100%"><strong>__all__</strong> = ['normcase', 'isabs', 'join', 'splitdrive', 'split', 'splitext', 'basename', 'dirname', 'commonprefix', 'getsize', 'getmtime', 'getatime', 'getctime', 'islink', 'exists', 'lexists', 'isdir', 'isfile', 'ismount', 'expanduser', ...]<br> +<td width="100%"><strong>__all__</strong> = ['normcase', 'isabs', 'join', 'splitdrive', 'split', 'splitext', 'basename', 'dirname', 'commonprefix', 'getsize', 'getmtime', 'getatime', 'getctime', 'islink', 'exists', 'lexists', 'isdir', 'isfile', 'ismount', 'walk', ...]<br> <strong>altsep</strong> = None<br> <strong>curdir</strong> = '.'<br> <strong>defpath</strong> = ':/bin:/usr/bin'<br> |