资源简介
中兴机顶盒工具 ZTESTB_V1.1.0_T7.01,适用于大多数中兴机顶盒配置、读取LOG、打开ADB
代码片段和文件信息
#!/usr/bin/env python
# Copyright (c) 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import os
import sys
version = sys.version_info[:2]
if version != (2 7):
sys.stderr.write(‘Systrace does not support Python %d.%d. ‘
‘Please use Python 2.7.\n‘ % version)
sys.exit(1)
systrace_dir = os.path.abspath(
os.path.join(os.path.dirname(__file__) ‘catapult‘ ‘systrace‘))
sys.path.insert(0 systrace_dir)
def RemoveAllStalePycFiles(base_dir):
“““Scan directories for old .pyc files without a .py file and delete them.“““
for dirname _ filenames in os.walk(base_dir):
if ‘.git‘ in dirname:
continue
for filename in filenames:
root ext = os.path.splitext(filename)
if ext != ‘.pyc‘:
continue
pyc_path = os.path.join(dirname filename)
py_path = os.path.join(dirname root + ‘.py‘)
try:
if not os.path.exists(py_path):
os.remove(pyc_path)
except OSError:
# Wrap OS calls in try/except in case another process touched this file.
pass
try:
os.removedirs(dirname)
except OSError:
# Wrap OS calls in try/except in case another process touched this dir.
pass
if __name__ == ‘__main__‘:
RemoveAllStalePycFiles(os.path.dirname(__file__))
from systrace import run_systrace
sys.exit(run_systrace.main())
- 上一篇:最全visio图标集
- 下一篇:C-MAPSS大型涡轮风扇发动机数据集
相关资源
- IBM Tivoli Storage Manager FastBack为Windows提
- datastbl编辑工具
- 索尼LT26i fastboot驱动 官方版
- Xenocode+Postbuild+2010+for+.NET程序混淆器(
- space time block coding for wireless communica
- stb_image库
- ADS7841 verlog程序附带Testbench
- writing testbenches using systemverilog
- CListBox中设置文本的颜色(字体)
- IrDA_uart 包括testbench
- hi3798mv100-安卓-Linux双启动.zip
- checklistbox
- 串口通信的Verilog代码及TestBench
- TestBed中文使用指南
- Writing Testbenches using systemverilog.pdf
- 海思ec2108广东2011版砖头复活
- HiTool-STB-5.0.27.rar
- Writing TestbenchesFunctional Verification of
- Testbench超全教程
- adb&libwinhthread;-1.dll.rar
- 海思HiTool-STB-5.0.27最新版工具
- C软件测试工具_Testbed_7.3.3_Win.zip
- 华为悦盒破解工具集最新版
- HiTool-stb-5.0.16
- HiTool-STB-5.0.8.7z
- 基于Verilog二分频的testbench源码
- 利用ListBox控件实现数据源字段的选择
- financial institution testbank
- AXIS-interconnect-testbench.zip
- 异步清零、技术使能、数据加载等不
评论
共有 条评论