Executing python function successfully
Macro IPY fun
Remove extra GAC characters
[reflection.assembly]::LoadFrom("{s}") | Out-Null
Macro IPY fun
str s.expandpath("$desktop$\IPY\IronPython.dll")
_s=
F
;[reflection.assembly]::LoadFrom("{s}")
;$py = [ironpython.hosting.python]::CreateEngine()
;$pyv = $py.CreateScope()
;$pyc = $py.CreateScriptSourceFromString(
;"
;def fun():
;;;;;print 'hello from example function'
;");
;$pyc.Execute($pyv)
;$py.Operations.Invoke($pyv.GetVariable("fun"));
PsCmd3 _s "" str's1
mes s1
Remove extra GAC characters
[reflection.assembly]::LoadFrom("{s}") | Out-Null