10-07-2018, 10:14 PM
There is an additional "object" layer in the Python interface. Many things in the PDB also exist as object methods and make the code a lot easier to write (and read...). A general documentation can be found here, but not everything is 100% documented. A good way to find things is to use dir(object) on various objects. You will see fairly obvious equivalents of the PDB functions:
- read-only attributes that are the equivalents of get*() functions
- read/write attributes that are the equivalents of get*() and set*() functions
- plain methods