import time
from idlelib.IOBinding import encoding
# 获取当前时间
ISOTIMEFORMAT='%Y-%m-%d %X'
def getCurrentTime():
    cur_time = time.strftime(ISOTIMEFORMAT, time.localtime())
#     print (cur_time);
    return cur_time;
# getCurrentTime()

def str2Bytes(s):
    return bytes(s,encoding = 'utf-8');

def bytes2Str(bs):
    return str(bs,encoding = 'utf-8');
aea19565ccd28b20efc2b73090daeba3223bebc9
<mask token>


def str2Bytes(s):
    return bytes(s, encoding='utf-8')


def bytes2Str(bs):
    return str(bs, encoding='utf-8')

<mask token>


def getCurrentTime():
    cur_time = time.strftime(ISOTIMEFORMAT, time.localtime())
    return cur_time


def str2Bytes(s):
    return bytes(s, encoding='utf-8')


def bytes2Str(bs):
    return str(bs, encoding='utf-8')

<mask token>
ISOTIMEFORMAT = '%Y-%m-%d %X'


def getCurrentTime():
    cur_time = time.strftime(ISOTIMEFORMAT, time.localtime())
    return cur_time


def str2Bytes(s):
    return bytes(s, encoding='utf-8')


def bytes2Str(bs):
    return str(bs, encoding='utf-8')

import time
from idlelib.IOBinding import encoding
ISOTIMEFORMAT = '%Y-%m-%d %X'


def getCurrentTime():
    cur_time = time.strftime(ISOTIMEFORMAT, time.localtime())
    return cur_time


def str2Bytes(s):
    return bytes(s, encoding='utf-8')


def bytes2Str(bs):
    return str(bs, encoding='utf-8')

import time
from idlelib.IOBinding import encoding
# 获取当前时间
ISOTIMEFORMAT='%Y-%m-%d %X'
def getCurrentTime():
    cur_time = time.strftime(ISOTIMEFORMAT, time.localtime())
#     print (cur_time);
    return cur_time;
# getCurrentTime()

def str2Bytes(s):
    return bytes(s,encoding = 'utf-8');

def bytes2Str(bs):
    return str(bs,encoding = 'utf-8');