Translations:Macros/Python Guide/Calling Python from Basic/7/es

From The Document Foundation Wiki
Jump to navigation Jump to search
oScriptProvider = ThisComponent.getScriptProvider()
oScript = oScriptProvider.getScript("vnd.sun.star.script:utcAhora.py$utcAhora?language=Python&location=user")
UtcAhora = oScript.invoke(array(), array(), array())