個人的なメモ書きです。 いつでも簡単に確認できるようにしているだけのものです。 Q3.printで複数文字の際、スペースを入るのがいやだ。:sep="" ≫『sep= 』で区切り文字を変更できる。 ≫文字列 + 文字列で繋げられる。 mes='パニ' + 'ック' #文字列 ...
import os def remove_specific_characters(filename, excluded_characters): # ファイル名とパスを分離 path, file = filename.rsplit('\\', 1) if '\\' in filename ...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.