上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 14 下一页
摘要: 转自IBM开发者社区。 使用pdb进行调试: pdb 是 python 自带的一个包,为 python 程序提供了一种交互的源代码调试功能,主要特性包括设置断点、单步调试、进入函数调试、查看当前代码、查看栈片段、动态改变变量的值等。pdb 提供了一些常用的调试命令,详情见表 1。 表 1. pdb 阅读全文
posted @ 2018-12-23 23:22 凯撒鸡肉卷 阅读(9968) 评论(0) 推荐(1)
摘要: 阅读全文
posted @ 2018-12-23 23:09 凯撒鸡肉卷 阅读(118) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-12-23 20:55 凯撒鸡肉卷 阅读(152) 评论(0) 推荐(0)
摘要: import shutil#copy()复制文件#格式: shutil.copy(来源路径,目标路径)#返回值:返回目标路径#拷贝的同时,可以给文件重命名rst = shutil.copy('/home/dadada/hahaha.huhu', '/home/dadada/hahaha.hoho') 阅读全文
posted @ 2018-12-23 18:23 凯撒鸡肉卷 阅读(155) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-12-23 15:34 凯撒鸡肉卷 阅读(72) 评论(0) 推荐(0)
摘要: 原文地址:https://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0003nk Slopegraphs for comparing gradients: Slopegraph theory and practice Slopegraph 阅读全文
posted @ 2018-12-23 02:39 凯撒鸡肉卷 阅读(326) 评论(0) 推荐(0)
摘要: 原文地址:http://kunststube.net/encoding/ If you are dealing with text in a computer, you need to know about encodings. Period. Yes, even if you are just s 阅读全文
posted @ 2018-12-20 00:52 凯撒鸡肉卷 阅读(286) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-12-19 02:36 凯撒鸡肉卷 阅读(109) 评论(0) 推荐(0)
摘要: 原文地址:https://stackabuse.com/reading-and-writing-json-to-a-file-in-python/ Over the last 5-10 years, the JSON format has been one of, if not the most, 阅读全文
posted @ 2018-12-18 01:47 凯撒鸡肉卷 阅读(129) 评论(0) 推荐(0)
摘要: 原文地址:https://chrisalbon.com/python/data_wrangling/pandas_join_merge_dataframe/ Join And Merge Pandas Dataframe 20 Dec 2017 import modules import panda 阅读全文
posted @ 2018-12-16 01:55 凯撒鸡肉卷 阅读(142) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 14 下一页