read_pdbstr in an API-only function which reads a pdb file from a Python string. This feature can be used to load or update structures into PyMOL without involving any temporary files.
PYMOL API ONLY
<source lang="python">
cmd.read_pdbstr( string pdb-content, string object name