def main_module_name() -> str:
if not hasattr(main_module, '<STR_LIT>'):<EOL><INDENT>return None<EOL><DEDENT>main_filename = os.path.basename(main_module.__file__)<EOL>module_name, ext = os.path.splitext(main_filename)<EOL>return module_name<EOL>
Returns main module and module name pair.