上一页 1 ··· 18 19 20 21 22
摘要: 非原创,原创地址:http://www.cnblogs.com/linhaifeng/articles/5937962.html#_label3 目录 一.操作系统基础 二.网络通信原理 2.1 互联网的本质就是一系列的网络协议 2.2 osi七层协议 2.3 tcp/ip五层模型讲解 2.3.1 阅读全文
posted @ 2018-05-29 09:27 dongye95 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 本节内容: 一、网络基础 网络基础链接 1.1 一个程序如何在网络上找到另一个程序? 首先,程序必须要启动,其次,必须有这台机器的地址,我们都知道我们人的地址大概就是国家\省\市\区\街道\楼\门牌号这样字。那么每一台联网的机器在网络上也有自己的地址,它的地址是怎么表示的呢? 就是使用一串数字来表示 阅读全文
posted @ 2018-05-21 09:39 dongye95 阅读(420) 评论(0) 推荐(0) 编辑
摘要: 1、time 模块 时间表示形式 时间相关的操作,时间有三种表示方式: 时间戳 1970年1月1日之后的秒,即:time.time() 格式化的字符串 2014-11-11 11:11, 即:time.strftime('%Y-%m-%d') 结构化时间 元组包含了:年、日、星期等... time. 阅读全文
posted @ 2018-05-19 16:31 dongye95 阅读(708) 评论(0) 推荐(0) 编辑
摘要: __doc__ 表示类的描述信息 class Foo(object): # Foo注释 def __init__(self): # __init__注释 pass obj = Foo() print(Foo.__doc__) print(obj.__doc__) >>> None >>> None 阅读全文
posted @ 2018-05-13 14:11 dongye95 阅读(354) 评论(0) 推荐(0) 编辑
摘要: 最终计算器需求: a+b a-b a+b 或 a-b 多位数加减(可带空格和 - 符号)比如 - 3 + 4 - 2 1 def symbol_result(string): 2 string = string.replace("++","+") 3 string = string.replace( 阅读全文
posted @ 2018-05-07 14:29 dongye95 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 1. 打开Sublime text 3 安装package control 2. 安装 SublimeREPL Preferences -> package control 或者Ctrl+shift+p 键入 install packages稍等片刻后 键入 SublimeREPL 安装即可。(由于 阅读全文
posted @ 2018-05-03 13:46 dongye95 阅读(5641) 评论(0) 推荐(0) 编辑
上一页 1 ··· 18 19 20 21 22