The Perl is just passing an interpreted string.
Couldn't you just do the same in Python?
N=3
ml.Execute(M=+N)
-or-
ml.Execute(M=magic(+N+))
depending on whether magic() is needed.
or alternately if you must have integer values in your python var.
N=3
cmd=M=%d % N
ml.Execute(cmd)
or
Dear sir,
I am looking for a sample python script to declare VARIANTs
similar to one shown below which is for Perl. Your help will be very
much appreciated.
Sincerely,
Kin Cheung
My Perl program is:
#!C:\xampp\perl\bin\perl.exe
print Content-type: text/html \n\n; #HTTP HEADER
#