xcopyのexclude(コピーしないファイルをフィルタ)

703 ワード

#uncopy.txt                  ( .txt,         .txt   )
import os

os.system('xcopy /y /s /h  D:\\text\\text\\a D:\\text\\text\\b /exclude:D:\\day\\bat_demo\\uncopy.txt')
1、            Pyinstaller    

               Pyinstaller    ,  cmd  ,                 ,      (       ):

        python pyinstaller.py -F myfile.py

2、  pip     Pyinstaller    

  cmd  ,            (          )       ,      (       ):

        pyinstaller -F myfile.py

3、       

    -F            
    -w          ,  GUI       。                      !
    -p                 ,        
    -i           

プロセススレッド(リファレンスリンク)https://www.cnblogs.com/zingp/p/5878330.html