Python get object class name object.__class__.__name__ Related Posts Generate random hex color code in python remove version from requirements file in python with regex python function to write json file Iterate python kwargs Copy dict to a new object Convert string to bytes object python