How can I see class methods via the command line for Python definitions?
In java, if I want to see the all methods of the Scanner class, then I can do it by this way:
javap *full_class_name*
Example:
user@hostname:~$ javap java.util.Scanner
Compiled from "Scanner.java"
public final class java.util.Scanner implements java.util.Iterator<java.lang.String>, java.io.Closeable {
static final boolean $assertionsDisabled;
public java.util.Scanner(java.lang.Readable);
// etc. ...
}
I want to see all the methods of a class in python, how can I do it? I want to be able to look up what methods are available when coding; I'm a beginner and don't want to have to search the internet each time.