KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I would like to display the attributes of a give object and was wondering if there was a python function for it. For example if I had an object from the following class: class Antibody(): def __init__(self,toSend): self.raw = toSend self.pdbcode = '' self.year = '' Could I get an output that looks something like this or something similar: ['self.raw','self.pdbcode','self.year'] thanks
Tags (comma-separated)
Save Edits
Cancel