python 命令行傳入參數

代碼 # show an image with plt and PIL import matplotlib.pyplot as plt import sys from PIL import Image def main( argv ): print argv if len( argv ) == 0: fn = "examples/images/cat.jpg"
相關文章
相關標籤/搜索