Example #1
0
def main(*args):
    funca()
    funcb()
    print 'args are', args
    import emb
    print emb.numargs(), 'command line arguments'
    return 0
Example #2
0
def main(*args):
    funca()
    funcb()
    print 'args are', args
    import emb
    print emb.numargs(), 'command line arguments'
    return 0
Example #3
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
Example #4
0
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
Example #6
0
def getargs(a, b):
    print('Number of arguments {}'.format(emb.numargs()))
Example #7
0
def yt_inline():
    print("Number of arguments", emb.numargs())
    print(dir(emb))
Example #8
0
import emb

print("Number of arguments", emb.numargs())