2022-08-15から1日間の記事一覧
Function fncPathExists(strType,strPath) '----------------------------------------- '機能:パスの有無を確認する '引数1:確認対象パスのタイプ(foledr または file で指定する) '引数2:確認対象のパス '戻り値:True または False '---------------…
python 目次 - ray88’s diary replace(検索文字列,置換文字列,個数) サンプルコード str_sample = "employee" #eをxに置き換える answer = str_sample.replace("e","x") print("置き換え後文字列:" + answer) #eを2個だけxに置換する answer = str_sample…