随笔分类 -  Python

NumPy的使用(一)
摘要:[[ 0 1 2 3 4] [ 5 6 7 8 9] [10 11 12 13 14]](3, 5)2int3215<type 'numpy.ndarray'>[15 16 17]<type 'numpy.ndarray'> 阅读全文

posted @ 2017-03-14 21:33 Honey_Badger 阅读(330) 评论(0) 推荐(0) 编辑

python----csv的使用
摘要:详细的内容参考:https://docs.python.org/2/library/csv.html#module-csv 打开csv 阅读全文

posted @ 2017-03-14 20:03 Honey_Badger 阅读(358) 评论(0) 推荐(0) 编辑

HBase快速安装
摘要:配置hbase-env.sh 配置hbase-site.xml 附加 hbase.rootdir:Region Servers共享的HBase持久化数据的存储地址。需要使用包含文件系统scheme的完全限定地址。 hbase.cluster.distributed:指定Hbase集群是否以分布式方式 阅读全文

posted @ 2017-02-21 00:38 Honey_Badger 阅读(337) 评论(0) 推荐(0) 编辑

ZooKeeper使用命令大全
摘要:stat path [watch] set path data [version] ls path [watch] delquota [-n|-b] path ls2 path [watch] setAcl path acl setquota -n|-b val path history redo 阅读全文

posted @ 2017-02-20 16:39 Honey_Badger 阅读(324) 评论(0) 推荐(0) 编辑

python中IndentationError: expected an indented block错误的解决方法
摘要:IndentationError: expected an indented block 翻译为IndentationError:预期的缩进块 解决方法:有冒号的下一行要缩进,该缩进就缩进 阅读全文

posted @ 2017-01-05 20:49 Honey_Badger 阅读(12243) 评论(0) 推荐(0) 编辑

2017Windows下安装pip
摘要:下载地址: https://pypi.python.org/pypi/pip#downloads 下载颜色那个 现在最新的pip-9.0.1的下载地址:https://pypi.python.org/packages/11/b6/abcb525026a4be042b486df43905d6893fb 阅读全文

posted @ 2016-12-31 03:04 Honey_Badger 阅读(4117) 评论(0) 推荐(0) 编辑

flask+sqlite3+echarts2+ajax数据可视化
摘要:前提: 准备Python + Flask+Sqlite3的平台环境(windows系统) 前面一节介绍flask怎么安装了,剩下sqlite3下载后解压,然后环境变量添加解压路径就行了 附加下载地址:http://www.sqlite.org/2016/sqlite-tools-win32-x86- 阅读全文

posted @ 2016-12-30 17:11 Honey_Badger 阅读(2299) 评论(0) 推荐(0) 编辑

flask+sqlite3+echarts2+ajax数据可视化报错:UnicodeDecodeError: 'utf8' codec can't decode byte解决方法
摘要:flask+sqlite3+echarts2+ajax数据可视化报错: UnicodeDecodeError: 'utf8' codec can't decode byte 解决方法: 将 py文件和html文件用用记事本打开,然后另存为,将编码ANSI改成:UTF-8 阅读全文

posted @ 2016-12-30 14:05 Honey_Badger 阅读(564) 评论(0) 推荐(0) 编辑

Windows下快速安装Flask的一次经历
摘要:前提: 1.已安装python版本(一般都是2.X) 2.已安装easy_install python安装,记得配置Python的环境变量,例如:我的直接在Path上加 G:\Python 验证安装Python成功:cmd 输入python 或者python -V 这是下载easy_install的 阅读全文

posted @ 2016-12-30 04:06 Honey_Badger 阅读(9023) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
github
点击右上角即可分享
微信分享提示