#!/usr/bin/python
# -*- coding: UTF-8 -*-
import subprocess
import sys, os
import commands
import shutil
import re
import hashlib
import urllib
import oss2
import argparse
from urlparse import urlparse
import time
import random
import json
from xml.etree.ElementTree import ElementTree,Element
import MySQLdb
import MySQLdb.cursors
import sys
reload(sys)
sys.setdefaultencoding( "utf-8" )
class Log:
@staticmethod
def e(msg):
print(Log.red + '[x]:' + msg + Log.end)
@staticmethod
def w(msg):
print(Log.yellow + '[!]:' + msg + Log.end)
@staticmethod
def i(msg):
print(Log.green + '[+]:' + msg + Log.end)
@staticmethod
def t(msg):
print(Log.blue + '[-]:' + msg + Log.end)
red = '\033[1;31m'
green = '\033[1;32m'
yellow = '\033[1;33m'
blue
python下载json文件并重写
最新推荐文章于 2023-07-07 00:05:03 发布