知らないライブラリを使っているとき、「これ、どんな機能があるんだっけ?」とか「この関数の引数、なんだっけ?」って思うこと、あるよね。 今まではスマホやパソコンで検索していたかもしれないけど、実はPythonそのものに「キミ、何ができるの?
1) The dir() Function Return a List Of All The Attributes and Methods available For an Object. 2) The dict() attribute returns a dictionary representation of an object's attributes. 3) The help ...