def screenshots(screenshots_data, module_name):
shots = screenshots_data.get(module_name)<EOL>if not shots:<EOL><INDENT>return "<STR_LIT>"<EOL><DEDENT>out = []<EOL>for shot in file_sort(shots):<EOL><INDENT>if not os.path.exists("<STR_LIT>" % shot):<EOL><INDENT>continue<EOL><DEDENT>out.append(u"<STR_LIT>".format(shot))<EOL><DEDENT>return u"<STR_LIT>".join(out)<EOL>
Create .rst output for any screenshots a module may have.