This script looks for the given symbol in a given module(s). This can be handy if you forgot which module something is in or just want to query for a substring in a set of modules.
# search pymol and pymol.cmd for any symbol starting with 'mov'
fs("mov")
['cmd.get_movie_length',
'cmd.get_movie_locked',
'cmd.get_movie_playing',
'cmd.mmove',
'cmd.move',
'cmd.movie',
'cmd.moving',
'cmd.remove',
'cmd.remove_picked']
# Search PyMOL's CMD module for something called align
fs("align", "cmd")
['cmd.align', 'cmd.alignto', 'cmd.cealign', 'cmd.get_raw_alignment']