發表文章

目前顯示的是有「python」標籤的文章

[python3] numpy.reshape

https://numpy.org/doc/stable/reference/generated/numpy.matrix.reshape.html https://numpy.org/doc/stable/reference/generated/numpy.reshape.html#numpy.reshape np.reshape(a, (3,-1))        # the unspecified value is inferred to be 2 # 固定row是3 # -1→系統自動幫判斷column array([[1, 2],        [3, 4],        [5, 6]])

[python3] 新式字串格式化 format()

https://blog.techbridge.cc/2019/05/03/how-to-use-python-string-format-method/

[python3]寫入檔案的方法_write, print, writelines, with

https://www.opencli.com/python/python-4-way-write-to-file

[python3] sys.argv[]

新手入門 ,推。