随笔分类 - python
摘要:Python读取大文件(GB) - CSDN博客 https://blog.csdn.net/shudaqi2010/article/details/54017766
阅读全文
摘要:import platform platform.architecture()
阅读全文
摘要:[i for i in xentropy_y_out if not sess.run(tf.is_nan(i))]
阅读全文
摘要:(venv) a@a:~/test/app$ timedatectl list-timezones | grep "hai"Asia/Shanghai(venv) a@a:~/test/app$ timedatectl set-timezone "Asia/Shanghai" AUTHENTICAT
阅读全文
摘要:17.5. subprocess — Subprocess management — Python 3.5.5 documentation https://docs.python.org/3.5/library/subprocess.html Source code: Lib/subprocess.
阅读全文
摘要:bytes(str_, encoding="utf8")
阅读全文
摘要:小结: 1、 +=修改旧变量地址的内容;=创建新增内存地址; 1、 id cpy 内存地址 id(object) 2、赋值语句的原理 不复制对象,而是建立目标和对象的绑定。 Assignment statements in Python do not copy objects, they creat
阅读全文
摘要:except Exception as e: l = [str(i) for i in [dbid, f_mp3, e]] log_s = '||'.join(l) logging.exception(log_s) print(log_s)
阅读全文
摘要:UnicodeEncodeError:'latin-1' codec can't encode character
阅读全文
摘要:2. Built-in Functions — Python 3.6.5 documentation https://docs.python.org/3.6/library/functions.html#id python 赋值 相等判定
阅读全文
摘要:python beautifulsoup获取特定html源码 - 吴悟无 - 博客园 https://www.cnblogs.com/vickey-wu/p/6843411.html PyQuery库的使用 - CSDN博客 https://blog.csdn.net/qw_xingzhe/arti
阅读全文
摘要:1)安装setuptools https://pypi.Python.org/pypi/setuptools python setup.py install 2)之后 安装 pip pip · PyPI https://pypi.org/project/pip/#files python setup
阅读全文
摘要:import osmy_file = '23.txt'if os.path.exists(my_file): #删除文件,可使用以下两种方法。 os.remove(my_file) #os.unlink(my_file)
阅读全文
摘要:q3 = int(float(q3.replace('万', '')) * 10000)
阅读全文
摘要:二维码(带有图片)的生成 - javaobject - 博客园 https://www.cnblogs.com/a8457013/p/7239722.html 调整二维码,大小 图片缩放 维持数据库文件名不变,覆盖文件
阅读全文
摘要:16.6. multiprocessing — Process-based “threading” interface — Python 2.7.14 documentation https://docs.python.org/2/library/multiprocessing.html
阅读全文
摘要:PyObject_VAR_HEAD Python-3.7.4\Include\object.h /* PyObject_VAR_HEAD defines the initial segment of all variable-size * container objects. These end w
阅读全文
摘要:Python 集合set()添加删除、交集、并集、集合操作详解 - 玩蛇网 http://www.iplaypy.com/jichu/set.html 字典排序 按值 按键 求交集 差集 a-b 交集 并集 差集 对称差集
阅读全文

浙公网安备 33010602011771号