Sep-03-2023, 06:28 PM
(This post was last modified: Sep-03-2023, 06:29 PM by Gribouillis.)
(Sep-03-2023, 05:34 PM)Skaperen Wrote: what is meant by "using"? trying to access it as an attribute?They mean that some functions in the
os
module have a follow_symlinks=
keyword argument in their parameter list, for example the os.stat()function has such a parameter.
On my system, I have
>>> import os >>> os.stat in os.supports_follow_symlinks TrueIt means that I can use the follow_symlinks argument and call e.g.
os.stat(..., follow_symlinks=False)On other systems, one cannot set this argument to False.