随笔分类 -  python

上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页
摘要:http://scikit-image.org/docs/dev/auto_examples/ 阅读全文
posted @ 2019-01-16 17:11 papering 阅读(139) 评论(0) 推荐(0)
摘要:https://zh.wikipedia.org/wiki/互操作性 就软件而言,互操作性——这条术语用来描述的是不同的程序(programs)借助于同一套交换格式(exchange formats)来交换数据,读写相同文件格式(file formats)以及采用相同协议(protocols)的能力 阅读全文
posted @ 2019-01-12 13:02 papering 阅读(298) 评论(0) 推荐(0)
摘要:源码 python with open 原理 阅读全文
posted @ 2019-01-02 17:58 papering 阅读(530) 评论(0) 推荐(0)
摘要:Invalid HTTP_HOST header: 'xxx.xx.xxx.xxx:8000'. You may need to add 'xxx.xx' to ALLOWED_HOSTS - buki26的博客 - CSDN博客 https://blog.csdn.net/buki26/artic 阅读全文
posted @ 2018-12-30 12:08 papering 阅读(314) 评论(0) 推荐(0)
摘要:Cursor Objects — PyMySQL 0.7.2 documentation https://pymysql.readthedocs.io/en/latest/modules/cursors.html#pymysql.cursors.Cursor.executemany executem 阅读全文
posted @ 2018-12-18 15:10 papering 阅读(1450) 评论(0) 推荐(0)
摘要:field_q_insert = 'id, title, number, created,content'sql_q = 'INSERT INTO testquestion ({}) VALUES ({})'.format(field_q_insert,'{}')print(sql_q)print(sql_q.format('1212'))ddd=9 阅读全文
posted @ 2018-12-18 14:41 papering 阅读(232) 评论(0) 推荐(0)
摘要:您好,python的请求es的http库是urllib3, 一个请求到贵司的es节点,想了解下,中间有哪些网关啊?冒昧推测,贵司的部分公共网关与python-urllib3的对接存在异常? 负载均衡(Server Load Balancer) 阅读全文
posted @ 2018-12-13 16:30 papering 阅读(294) 评论(0) 推荐(0)
摘要:During handling of the above exception, another exception occurred: Traceback (most recent call last): File "search1212.py", line 182, in <module> pri 阅读全文
posted @ 2018-12-12 18:41 papering 阅读(1544) 评论(0) 推荐(0)
摘要:获取当前文件路径 testpath.py import sysprint(sys.path) [root@d mapReduceLog]# python testpath.py['/data/mapReduceVisitorLog/mapReduceLog', '/root/anaconda3/li 阅读全文
posted @ 2018-12-12 11:03 papering 阅读(518) 评论(0) 推荐(0)
摘要:API Documentation — Elasticsearch 6.3.1 documentation https://elasticsearch-py.readthedocs.io/en/master/api.html 阅读全文
posted @ 2018-12-11 21:12 papering 阅读(407) 评论(0) 推荐(0)
摘要:C:\Users\sas\.PyCharm2017.2\system\python_stubs\-1603771140\time.py 阅读全文
posted @ 2018-11-30 10:21 papering 阅读(276) 评论(0) 推荐(0)
摘要:import osl = ['ssh a;scp /data/visitlog/*11* root@d:/data/mapReduceVisitorLog/'] # b c for i in l: os.system(i)在执行py脚本前,配置好了免密登录;python this_.py成功登录到a服务器,但是剩下的不能执行;实现思路:事件触发机制;各个节点 http 监听;收到后... 阅读全文
posted @ 2018-11-29 15:27 papering 阅读(1060) 评论(0) 推荐(0)
摘要:当前文件的行号 阅读全文
posted @ 2018-11-19 20:00 papering 阅读(806) 评论(0) 推荐(0)
摘要:import inspectdef get_current_function_name(): return inspect.stack()[1][3]class MyClass: def function_one(self): print("%s.%s invoked"%(self.__class__.__name__, get_current_function_name... 阅读全文
posted @ 2018-10-23 16:29 papering 阅读(605) 评论(0) 推荐(0)
摘要:Numba: A High Performance Python Compiler http://numba.pydata.org/ 一行代码让python的运行速度提高100倍,你信吗?-聚能聊-云栖社区-阿里云 https://yq.aliyun.com/roundtable/426057 阅读全文
posted @ 2018-10-22 13:46 papering 阅读(175) 评论(0) 推荐(0)
摘要:https://my.oschina.net/renwofei423/blog/17404 1. PyCodeObject与Pyc文件 通常认为,Python是一种解释性的语言,但是这种说法是不正确的,实际上,Python在执行时,首先会将.py文件中的源代码编译成Python的byte code( 阅读全文
posted @ 2018-10-18 16:40 papering 阅读(583) 评论(0) 推荐(0)
摘要:>>> import thisThe Zen of Python, by Tim Peters PEP 20 -- The Zen of Python | Python.org https://www.python.org/dev/peps/pep-0020/ Beautiful is better 阅读全文
posted @ 2018-10-10 17:34 papering 阅读(293) 评论(0) 推荐(0)
摘要:Guide to Python introspection https://www.ibm.com/developerworks/library/l-pyint/ Guide to Python introspection How to spy on your Python objects Publ 阅读全文
posted @ 2018-10-10 17:09 papering 阅读(525) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/X21214054/article/details/78873338# python docx文档转html页面 - 程序猿tx - 博客园 https://www.cnblogs.com/taixiang/p/9978456.html# Usage — 阅读全文
posted @ 2018-10-06 10:28 papering 阅读(705) 评论(0) 推荐(0)
摘要:8.12 定义接口或者抽象基类 — python3-cookbook 3.0.0 文档 https://python3-cookbook.readthedocs.io/zh_CN/latest/c08/p12_define_interface_or_abstract_base_class.html 阅读全文
posted @ 2018-09-30 22:41 papering 阅读(275) 评论(0) 推荐(0)

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