#!/usr/bin/env python# encoding:utf-8#author gxcc 2016import os,sys,timeinstall_dir = "/soft/" #定义存放安装包的目录tar_dir ="/softdoc/" #定义解压安装包存放的目录os.chdir(install_dir) #切换至/softprint "