path.sh_v1.0

#!/bin/bash
#OUT_PATH= "/home/xs/桌面/path.txt"
SCODE_PATH="/work/K7S/S/"
FILE_NAME="test.txt"
CODE1_START="start"
CODE1_END="end"
grep $CODE1_START $FILE_NAME |grep $CODE1_END | tee /home/xs/桌面/path.txt
chmod 777 /home/xs/桌面/path.txt
OUT_PATH="/home/xs/桌面/path.txt"
#awk  '{print $2}' path.txt
PATH_ARRAY=(`awk '{print $2}' path.txt`)
#echo ${PATH_ARRAY[@]}
for(( i=0;i<${#PATH_ARRAY[@]};i++)) do #${#array[@]}获取数组长度用于循环
        echo ${PATH_ARRAY[i]};
        SCODE_PATH_CODE=$SCODE_PATH${PATH_ARRAY[i]}
        echo $SCODE_PATH_CODE
        meld ${PATH_ARRAY[i]} $SCODE_PATH_CODE
done;

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
24695 INFO: Building PYZ because PYZ-00.toc is non existent 24697 INFO: Building PYZ (ZlibArchive) C:\Users\SH2304020\Desktop\海康添加人员api v1.0\build\Add_person\PYZ-00.pyz Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "C:\Users\SH2304020\AppData\Local\Programs\Python\Python311\Scripts\pyinstaller.exe\__main__.py", line 7, in <module> File "C:\Users\SH2304020\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller\__main__.py", line 194, in _console_script_run run() File "C:\Users\SH2304020\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller\__main__.py", line 180, in run run_build(pyi_config, spec_file, **vars(args)) File "C:\Users\SH2304020\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller\__main__.py", line 61, in run_build PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs) File "C:\Users\SH2304020\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller\building\build_main.py", line 1030, in main build(specfile, distpath, workpath, clean_build) File "C:\Users\SH2304020\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller\building\build_main.py", line 952, in build exec(code, spec_namespace) File "C:\Users\SH2304020\Desktop\海康添加人员api v1.0\Add_person.spec", line 22, in <module> pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\SH2304020\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller\building\api.py", line 129, in __init__ self.__postinit__() File "C:\Users\SH2304020\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller\building\datastruct.py", line 184, in __postinit__ self.assemble() File "C:\Users\SH2304020\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller\building\api.py", line 149, in assemble self.code_dict[name] = get_code_object(name, src_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\SH2304020\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller\building\utils.py", line 607, in get_code_object return compile(source, filename, 'exec') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: source code string cannot contain null bytes是什么问题
06-06
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值