随笔分类 - 边学边记
日常学习笔记
摘要:”’ 题目: 给定一个int list a,满足a[i+1]>=a[i],给定int key,找出list a中第一个大于等于key的元素的index,无满足要求的元素则返回-1. 函数定义: def findIndex(int_list,int_key) ”’ ”’ 使用到的知识点的总结: 1.f
阅读全文
摘要:Samba是在Linux和UNIX系统上实现SMB协议的⼀个免费软件 在win10访问共享文件时,能链接上,但拒绝访问,未解决。
阅读全文
摘要:https://www.7down.com/soft/168911.html JetBrains 授权服务器(License Server URL):http://idea.imsxm.com 使用方法:激活时选择License server 填入http://idea.imsxm.com 点击Ac
阅读全文
posted @ 2017-10-19 18:02
zy--
摘要:#z装饰器import timedef deco(func): def wrapper(): startT = time.time() func() endT = time.time() msecs = (endT - startT)*1000 print("it's %f ms" % msecs)
阅读全文
摘要:import os import sys modulepath = os.getcwd () + '\\module' sys.path.append(modulepath)
阅读全文
摘要:*.pyc 命令:python - m py_comple file.py 脚本: import py_compile py_compile.compile('module.py' , 'module.pyc') *.pyo 或 opt 命令:python - O - m py_compile mo
阅读全文
摘要:import 模块名字 import 模块名字 as 别名 from 模块名 import 函数/类名/ *
阅读全文
摘要:直接启动python的交互式环境是不行的,还是要启动Windows的命令提示符。
阅读全文

浙公网安备 33010602011771号