文件操作 - scriptcontent.cpython-310.pyc
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/python3/dist-packages/landscape/lib/__pycache__/scriptcontent.cpython-310.pyc
编辑文件内容
o ���c � @ s d dl mZ dd� Zdd� ZdS )� )�md5c C s d� | pd|pd�S )zJ Concatenates a interpreter and script into an executable script. z#!{} {}� )�format)�interpreter�code� r �=/usr/lib/python3/dist-packages/landscape/lib/scriptcontent.py�build_script s r c C s | � d�}t|��� � d�S )z+ Return a hash for a given script. zutf-8�ascii)�encoder � hexdigest)�script�encoded_scriptr r r �generate_script_hash s r N)�landscape.lib.hashlibr r r r r r r �<module> s
修改文件时间
将文件时间修改为当前时间的前一年
删除文件