色婷婷狠狠18禁久久YY,CHINESE性内射高清国产,国产女人18毛片水真多1,国产AV在线观看

pycharm怎么在函數加斷言

張吉惟2年前13瀏覽0評論

pycharm怎么在函數加斷言?

實現步驟: 1. PyCharm, IDE有個Project setting圖標,是給run圖標做配置的,配置run file為myfile.py 2. 代碼如下: # -------------------------------------- #! /usr/bin/python # File: myfile.py # Author: Michael Fan from make.py import do def main(): do() if __name__ == '__main__': main() # -------------------------------------- 3. 代碼如下: mic@ubt: ~$ ls > make.py myfile.py mic@ubt: ~$ ./myfile.py > Hello, world!

java斷言assert,pycharm怎么在函數加斷言