You usually shouldn’t have consecutive Python nodes as it is extremely inefficient.
The intent is to use these methods to assist in authoring the code, often one after the other.
# Load the Python Standard and DesignScript Libraries
import sys
import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *
object = IN[0] #get an object however you like - in this case I'm bringing it in from the Dynamo environment
whatCanYouDo = dir(object) #get a list of what you can do with the object using your current imports
OUT = whatCanYouDo #return the list of what you can do with the object into the Dynamo environment
#############################################
#### after running the above, change the ####
#### "Method" here to one of the items ####
#### in the output, and uncomment the ####
#### line to learn about it, such as the ####
#### inputs, or any other documentation ####
#############################################
#documentation = object.Method.__doc__
#OUT = documentation, whatCanYouDo
So run that code, find something you like about the object, and then modify the documentation = object.Method.__doc__
line to be documentation = object.**SomethingFromTheCurrentOutput**.__doc__
, and uncomment the last two lines