摘要:
import tracebackclass Properties(object): def __init__(self, fileName): self.fileName = fileName self.properties = {} def __getDict(self, strName, dictName, value): if(strNa... 阅读全文
摘要:
import osimport requestsimport jsonfrom Util import Propertiesprint('########[公务员自助列表]################ * start')properties = Properties("./global.properties").getProperties()headers = {'User-Agent': '... 阅读全文
摘要:
# -*- coding: utf-8 -*-import jpypeimport os.pathjarpath = os.path.join(os.path.abspath('.'), 'axja')print("=====>jarpath: " , jarpath)# jpype=startJVM("D:/devsoft/ultimate/env/jdk/jdk7/Java17017/jre7... 阅读全文
摘要:
#!/usr/bin/env pythonimport signalimport sysimport osdef signal_handler(signal, frame): print('You pressed Ctrl+C!')# signal.signal(signal.SIGINT, signal_handler)print('Press Ctrl+C')# os.syste... 阅读全文
摘要:
from PyQt5 import QtWidgetsfrom untitled import Ui_MainWindowfrom PyQt5.QtWidgets import QFileDialogclass MyWindow(QtWidgets.QMainWindow, Ui_MainWindow): def __init__(self): super(MyWindow, ... 阅读全文
摘要:
# -*- coding: utf-8 -*-import loggingimport sysimport osimport xlrdfrom UtilAzxu import Properties# 获取logger实例,如果参数为空则返回root loggerlog = logging.getLogger("AppName")# 指定logger输出格式formatter = logging.F... 阅读全文
摘要:
# Go Hosts# 2017-05-02 02:13:04# Localhost (DO NOT REMOVE)127.0.0.1 localhost::1 localhost ip6-localhost ip6-loopback 219.76.4.14 www.google.com219.76.4.14 google.com219.76.4.14 gcr.io... 阅读全文
摘要:
FF6464 9F6B00 8A8A00 4B5E76 8A7674 980B4F 980B4F 阅读全文
摘要:
System.setProperty("http.proxyHost", "localhost");System.setProperty("http.proxyPort", "8888");System.setProperty("https.proxyHost", "localhost");System.setProperty("https.proxyPort", "8888"); 阅读全文