摘要:
客户端# !/usr/bin/env python3 # -*- coding: utf-8 -*-from nameko.standalone.rpc import ClusterRpcProxy CONFIG = {'AMQP_URI': "amqp://mq用户名:mq密码@ip地址"} de 阅读全文
摘要:
#!/usr/bin/env python3# -*- coding: utf-8 -*-import logginglevel_map = {'CRITICAL': logging.CRITICAL, 'ERROR': logging.ERROR, 'WARNING': logging.WARNI 阅读全文
摘要:
def get_pin(): number = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'] letter = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'J', 'K', ' 阅读全文
摘要:
# !/usr/bin/env python3# -*- coding: utf-8 -*-import redis RedisConfig = dict(host='127.0.0.1', port=6379, db=1) class RedisCache: _instance = None de 阅读全文
摘要:
百度云下载链接erlang-otp_win64_20.3和rabbitmq-server-3.7.5 亲测有效 链接:https://pan.baidu.com/s/1GEQa80cnL72i03EEKYeF9A 提取码:aslw erlang环境变量位于erlang安装目录下的bin目录 例:D: 阅读全文
摘要:
# !/usr/bin/env python3# -*- coding: utf-8 -*-import xlwt def generate_excel(file_name, data): work_book = xlwt.Workbook(encoding='utf-8') sheet = wor 阅读全文
摘要:
# -*- coding: utf-8 -*-import base64import datetimeimport hmacimport jsonimport timefrom hashlib import sha1 as shadef get_iso_8601(expire, utc=8): gm 阅读全文