スクリプトの実行中に現在の作業ディレクトリをデスクトップに変更したいと考えています。
私が使用した:
import os
os.chdir("C:\Documents and Settings\%username%\Desktop")
しかし、その表示ERROR 3
WindowsError: [Error 3] The system cannot find the path specified: 'C:\\Documents and Settings\\%username%\\Desktop'