def main(): dir = FileUtil.cur_file_dir() os.chdir(dir) print 'Starting FirefoxPortable...' if FileUtil.has_file('FirefoxPortable/FirefoxPortable.exe'): os.system('start ./FirefoxPortable/FirefoxPortable.exe -no-remote "http://greatagent-ifanqiang.github.io/greatagent2-wp/ifanqiang.htm"') return else: print "Don't Have FirefoxPortable" FileUtil.delete_dir("FirefoxPortable") print 'Starting GoogleChromePortable...' if FileUtil.has_file('GoogleChromePortable/GoogleChromePortable.exe'): os.system('start ./GoogleChromePortable/GoogleChromePortable.exe --ignore-certificate-errors "http://greatagent-ifanqiang.github.io/greatagent2-wp/ifanqiang.htm"') return else: print "Don't Have GoogleChromePortable" print 'Starting OperaPortable...' if FileUtil.has_file('OperaPortable/OperaPortable.exe'): os.system('start ./OperaPortable/OperaPortable.exe "http://greatagent-ifanqiang.github.io/greatagent2-wp/ifanqiang.htm"') return else: print "Don't Have OperaPortable" print 'Starting MaxthonPortable...' if FileUtil.has_file('MaxthonPortable/MaxthonPortable.exe'): os.system('start ./MaxthonPortable/MaxthonPortable.exe "http://greatagent-ifanqiang.github.io/greatagent2-wp/ifanqiang.htm"') return else: print "Don't Have MaxthonPortable" print "Don't Have Any Portable Broswer!"
def main(): dir = FileUtil.cur_file_dir() os.chdir(dir) print 'Starting FirefoxPortable...' if FileUtil.has_file('FirefoxPortable/FirefoxPortable.exe'): os.system('start ./FirefoxPortable/FirefoxPortable.exe -no-remote "http://www.secretchina.com/fq"') return else: print "Don't Have FirefoxPortable" #FileUtil.delete_dir("FirefoxPortable") print 'Starting GoogleChromePortable...' if FileUtil.has_file('GoogleChromePortable/GoogleChromePortable.exe'): os.system('start ./GoogleChromePortable/GoogleChromePortable.exe --ignore-certificate-errors "http://www.secretchina.com/fq"') return else: print "Don't Have GoogleChromePortable" print "Don't Have Any Portable Broswer!"
def main(): dir = FileUtil.cur_file_dir() os.chdir(dir) print 'Starting FirefoxPortable...' if FileUtil.has_file('FirefoxPortable/FirefoxPortable.exe'): os.system( 'start ./FirefoxPortable/FirefoxPortable.exe -no-remote "http://www.secretchina.com/fq"' ) return else: print "Don't Have FirefoxPortable" #FileUtil.delete_dir("FirefoxPortable") print 'Starting GoogleChromePortable...' if FileUtil.has_file('GoogleChromePortable/GoogleChromePortable.exe'): os.system( 'start ./GoogleChromePortable/GoogleChromePortable.exe --ignore-certificate-errors "http://www.secretchina.com/fq"' ) return else: print "Don't Have GoogleChromePortable" print "Don't Have Any Portable Broswer!"
def main(): dir = FileUtil.cur_file_dir() os.chdir(dir) print 'Starting FirefoxPortable...' if FileUtil.has_file('FirefoxPortable/FirefoxPortable.exe'): os.system( 'start ./FirefoxPortable/FirefoxPortable.exe -no-remote "http://greatagent-ifanqiang.github.io/greatagent2-wp/ifanqiang.htm"' ) return else: print "Don't Have FirefoxPortable" FileUtil.delete_dir("FirefoxPortable") print 'Starting GoogleChromePortable...' if FileUtil.has_file('GoogleChromePortable/GoogleChromePortable.exe'): os.system( 'start ./GoogleChromePortable/GoogleChromePortable.exe --ignore-certificate-errors "http://greatagent-ifanqiang.github.io/greatagent2-wp/ifanqiang.htm"' ) return else: print "Don't Have GoogleChromePortable" print 'Starting OperaPortable...' if FileUtil.has_file('OperaPortable/OperaPortable.exe'): os.system( 'start ./OperaPortable/OperaPortable.exe "http://greatagent-ifanqiang.github.io/greatagent2-wp/ifanqiang.htm"' ) return else: print "Don't Have OperaPortable" print 'Starting MaxthonPortable...' if FileUtil.has_file('MaxthonPortable/MaxthonPortable.exe'): os.system( 'start ./MaxthonPortable/MaxthonPortable.exe "http://greatagent-ifanqiang.github.io/greatagent2-wp/ifanqiang.htm"' ) return else: print "Don't Have MaxthonPortable" print "Don't Have Any Portable Broswer!"