f.write(strtime + '\t' + i + '\t' + titleYied + '\t' + urlyied + '\n') # ‘\n’ 表示換行
TypeError: cannot concatenate 'str' and 'int' objects
解決:
python拼接字符串 中有的是整數時需要用str()進行轉換才能進行拼接
f.write(strtime + '\t' + i + '\t' + titleYied + '\t' + urlyied + '\n') # ‘\n’ 表示換行
TypeError: cannot concatenate 'str' and 'int' objects
解決:
python拼接字符串 中有的是整數時需要用str()進行轉換才能進行拼接
kubectl config get-contexts kubectl config use-context <context-name> kubectl config current-context