知らないライブラリを使っているとき、「これ、どんな機能があるんだっけ?」とか「この関数の引数、なんだっけ?」って思うこと、あるよね。 今まではスマホやパソコンで検索していたかもしれないけど、実はPythonそのものに「キミ、何ができるの?
# The dir() function returns a list of valid attributes for the specified object. # When called without arguments, it returns a list of names in the current local scope. # When called with an object ...
# dir() - The dir() function returns a list of all the attributes and methods (including dunder methods) available for an object. # dict - This attribute returns a dictionary representation of an ...
現在アクセス不可の可能性がある結果が表示されています。
アクセス不可の結果を非表示にする