Invoke the built-in help system with python's dir and help methods

Will Button
InstructorWill Button

Share this video with your friends

Send Tweet

Dir and help are two must-know functions in Python. Dir will provide us with a list of methods available on the object of interest while help will inspect a specific method we would like to use.

Learning about them in this lesson will help you understand what functions and methods are available for use as well has how to use them.

Victor Hazbun
Victor Hazbun
~ 3 years ago

Is there any difference between double quote and single quote strings in python? They both are strings objects?

Victor Hazbun
Victor Hazbun
~ 3 years ago

Is there any difference between double quote and single quote strings in python? They both are strings objects?

type("a") <class 'str'>

type('a') <class 'str'>

Will Button
Will Buttoninstructor
~ 3 years ago

Nope! Unlike some other languages, there is not any difference that I'm aware of!