def makename(package, module):
 if package:
  name = package
  if module:
   name += ('.' + module)
 else:
  name = module
 return name

def makename ( package , module ) : if package : name = package if module : name += ( '.' + module ) else : name = module return name
join package and module with a dot .