def main(*args): funca() funcb() print 'args are', args import emb print emb.numargs(), 'command line arguments' return 0
def make_cpp_call(): print "Python: This is process: ", os.getpid() print "Number of arguments", emb.numargs() cpp_obj = cpp.new() # cpp_obj2 = cpp.cpp() cpp_obj.message() return 1
import emb print(emb.numargs("Hello World"))
import emb print("Number of arguments", emb.numargs()) def multiply(a,b): print("Will compute", a, "times", b) c = 0 for i in range(0, a): c = c + b return c
def getargs(a, b): print('Number of arguments {}'.format(emb.numargs()))
def yt_inline(): print("Number of arguments", emb.numargs()) print(dir(emb))
import emb print("Number of arguments", emb.numargs())