# Print a message when an async LibLoad is doneimportbgedeffinished_cb(status):print("Library (%s) loaded in %.2fms."%(status.libraryName,status.timeTaken))bge.logic.LibLoad('myblend.blend','Scene',async=True).onFinish=finished_cb