Python
MK_Derek
展开
-
Mac配置Python开发环境并实现简单的字符串和整数拼接
Mac配置Python开发环境并实现简单的字符串和整数拼接转载 2016-09-05 14:02:32 · 303 阅读 · 0 评论 -
Python 实现客户端 服务端 Socket通信
Python 实现客户端 服务端 Socket通信demo地址https://github.com/Sico2Sico/Sico2Sico_pythonSocket.git1 client.py#coding=utf-8from socket import *#1. 创建套接字udpSocket = socket(AF_INET, SOCK_DGRAM)#2. 准备接收方...原创 2018-03-07 15:16:23 · 479 阅读 · 0 评论 -
Swift defer and Python try finally
Swift defer and Python try finally1 defer“Use defer to write a block of code that is executed after all other code in the function, just before the function returns. The code is executed rega...原创 2018-03-07 15:56:02 · 296 阅读 · 0 评论 -
pip install --user greenlet
pip install --user greenlet原创 2018-03-23 23:02:59 · 1627 阅读 · 0 评论 -
Python 常用标准库/扩展库
常用标准库标准库 说明 builtins 内建函数默认加载 os 操作系统接口 sys Python自身的运行环境 functools 常用的工具 json 编码和解码 JSON 对象 logging 记录日志,调试 multiprocessing 多进程 threading 多线程 copy 拷贝 time 时间 datetime ...原创 2018-03-28 19:32:41 · 598 阅读 · 0 评论