Example #1
0
 def cb(p):
     if mimetypes.guess_type(p)[0] == "text/x-python":
         Importer.import_module_by_path(p)
Example #2
0
 def cb(p):
     if mimetypes.guess_type(p)[0] == "text/x-python":
         Importer.import_module_by_path(p)