py_function.py

来自「介绍如何用cpp去调用python的函数和变量」· Python 代码 · 共 12 行

PY
12
字号
'''py_function.py - Python source designed to demonstrate the use of python embedding'''

def multiply():
    c = 12345*6789
    print 'The result of 12345 x 6789 :', c
    return c

def multiply1(a,b):    c = a*b
    print 'The result of', a, 'x', b, ':', c
    return c

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?