pyminifier -h
Usage: pyminifier [options]"<input file>"Options:--version show program's version number and exit-h, --help show this help message and exit-o <file path>, --outfile=<file path>Save output to the given file.-d <file path>, --destdir=<file path>Save output to the given directory. This option isrequired when handling multiple files. Defaults to'./minified' and will be created if not present.將輸出保存到給定的目錄。當處理多個文件時,此選項是必需的。默認為'./minified',如果不存在,將被創建。--nominify Don't bother minifying (only used with --pyz).--use-tabs Use tabs for indentation instead of spaces.使用制表符代替空格來縮進。--bzip2 bzip2-compress the result into a self-executing pythonscript. Only works on stand-alone scripts withoutimplicit imports.以bzip2方式壓縮將結果到一個自動執行的python腳本中。只能在獨立腳本上工作,不需要隱式導入。--gzip gzip-compress the result into a self-executing pythonscript. Only works on stand-alone scripts withoutimplicit imports.以gzip方式壓縮結果到一個自執行的python腳本中。只能在獨立腳本上工作,不需要隱式導入。--lzma lzma-compress the result into a self-executing pythonscript. Only works on stand-alone scripts withoutimplicit imports.以lzma方式壓縮將結果到一個自動執行的python腳本中。只能在獨立腳本上工作,不需要隱式導入。--pyz=<name of archive>.pyzzip-compress the result into a self-executing pythonscript. This will create a new file that includes anynecessary implicit (local to the script) modules.Will include/process all files given as arguments topyminifier.py on the command line.-O, --obfuscate Obfuscate all function/method names, variables, andclasses. Default is to NOT obfuscate.--obfuscate-classes Obfuscate class names.--obfuscate-functionsObfuscate function and method names.--obfuscate-variablesObfuscate variable names.--obfuscate-import-methodsObfuscate globally-imported mouled methods (e.g.'Ag=re.compile').--obfuscate-builtins Obfuscate built-ins (i.e. True, False, object,Exception, etc).--replacement-length=1The length of the random names that will be used whenobfuscating identifiers.--nonlatin Use non-latin (unicode) characters in obfuscation(Python 3 only). WARNING: This results in someSERIOUSLY hard-to-read code.--prepend=<file path>Prepend the text in this file to the top of ouroutput. e.g. A copyright notice.