Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Execute Python code in QM
#16
Unzip the attachment IPY2.7.9 to the desktop and run the following code
But I have a problem, the result will show extra characters, how to remove it?
Huh

I think there may be a better way to use ironpython in QM2, without using powershell Idea


Macro IPY
Code:
Copy      Help
str s.expandpath("$desktop$\IPY\IronPython.dll")
int i=50
_s=
F
;[reflection.assembly]::LoadFrom("{s}")
;$py = [ironpython.hosting.python]::CreateEngine()
;$py.Execute("print {i}+4")

PsCmd3 _s "" str's1
mes s1



Attached Files Image(s)
   

.zip   IPY2.7.9.zip (Size: 5.06 MB / Downloads: 430)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)