lmgsanm

每天学习一点,每天进步一点点…… Tomorrow is another beatifull day

导航

上一页 1 2 3 4 5 6 7 8 ··· 10 下一页

2018年1月29日

python模块:time

摘要: 1 # encoding: utf-8 2 # module time 3 # from (built-in) 4 # by generator 1.145 5 """ 6 This module provides various functions to manipulate time value 阅读全文

posted @ 2018-01-29 22:17 lmgsanm 阅读(330) 评论(0) 推荐(0) 编辑

python模块:datetime

摘要: 1 # Stubs for datetime 2 3 # NOTE: These are incomplete! 4 import sys 5 from typing import Optional, SupportsAbs, Tuple, overload 6 7 MINYEAR = 0 8 MA 阅读全文

posted @ 2018-01-29 22:16 lmgsanm 阅读(228) 评论(0) 推荐(0) 编辑

python模块:json

摘要: 1 r"""JSON (JavaScript Object Notation) <http://json.org> is a subset of 2 JavaScript syntax (ECMA-262 3rd edition) used as a lightweight data 3 inter 阅读全文

posted @ 2018-01-29 22:12 lmgsanm 阅读(273) 评论(0) 推荐(0) 编辑

python模块:pickle

摘要: 1 """Create portable serialized representations of Python objects. 2 3 See module copyreg for a mechanism for registering custom picklers. 4 See modul 阅读全文

posted @ 2018-01-29 22:11 lmgsanm 阅读(994) 评论(0) 推荐(0) 编辑

python模块:shelve

摘要: 1 """Manage shelves of pickled objects. 2 3 A "shelf" is a persistent, dictionary-like object. The difference 4 with dbm databases is that the values 阅读全文

posted @ 2018-01-29 21:54 lmgsanm 阅读(348) 评论(0) 推荐(0) 编辑

python模块:shutil

摘要: 1 """Utility functions for copying and archiving files and directory trees. 2 3 XXX The functions here don't copy the resource fork or other metadata 阅读全文

posted @ 2018-01-29 21:42 lmgsanm 阅读(280) 评论(0) 推荐(0) 编辑

python模块:sys

摘要: 1 # encoding: utf-8 2 # module sys 3 # from (built-in) 4 # by generator 1.145 5 """ 6 This module provides access to some objects used or maintained b 阅读全文

posted @ 2018-01-29 21:37 lmgsanm 阅读(447) 评论(0) 推荐(0) 编辑

2018年1月25日

python:OS模块

摘要: 1 r"""OS routines for NT or Posix depending on what system we're on. 2 3 This exports: 4 - all functions from posix or nt, e.g. unlink, stat, etc. 5 - 阅读全文

posted @ 2018-01-25 08:43 lmgsanm 阅读(584) 评论(0) 推荐(0) 编辑

2018年1月22日

str.index()与str.find()比较

摘要: 1 def extract_from_tag(tag,line): 2 opener = "<" + tag + ">" 3 closer = "</" + tag + ">" 4 try: 5 i = line.index(opener)# i = 7 6 start = i + len(open 阅读全文

posted @ 2018-01-22 21:09 lmgsanm 阅读(991) 评论(0) 推荐(0) 编辑

2018年1月17日

python模块:re

摘要: 1 # 2 # Secret Labs' Regular Expression Engine 3 # 4 # re-compatible interface for the sre matching engine 5 # 6 # Copyright (c) 1998-2001 by Secret L 阅读全文

posted @ 2018-01-17 21:30 lmgsanm 阅读(210) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 ··· 10 下一页