Kaydet (Commit) 2babd7b1 authored tarafından Guido van Rossum's avatar Guido van Rossum

Document getsize(), getmtime(), getatime().

üst 2bc1f8f0
......@@ -50,6 +50,25 @@ variable names and references to non-existing variables are left
unchanged.
\end{funcdesc}
\begin{funcdesc}{getsize}{filename}
Return the size, in bytes, of \var{filename}. Raise
\exception{os.error} if the file does not exist or is inaccessible.
\end{funcdesc}
\begin{funcdesc}{getmtime}{filename}
Return the time of last modification of \var{filename}. The return
value is integer giving the number of seconds since the epoch (see the
\module{time} module. Raise \exception{os.error} if the file does not
exist or is inaccessible.
\end{funcdesc}
\begin{funcdesc}{getatime}{filename}
Return the time of last access of \var{filename}. The return
value is integer giving the number of seconds since the epoch (see the
\module{time} module. Raise \exception{os.error} if the file does not
exist or is inaccessible.
\end{funcdesc}
\begin{funcdesc}{isabs}{p}
Return true if \var{p} is an absolute pathname (begins with a slash).
\end{funcdesc}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment