• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
xiao dan feng
博客园 首页 新随笔 联系 订阅 订阅 管理

2014年3月8日

The 1st day with Python
摘要: 刚开始实践python,遇到比较多的问题就是函数名、变量名输入错误,比较给力的按无论shell还是terminal给出的错误提示,按图索骥都能在网上找到相关解决办法,简单的自己也能顿悟。典型的一个是《Head first Python》中安装本地module用了一个linux指令sudo,搞了半天无果,始终说不是内部指令。一个linux中提高权限的指令,windows中不用就可以。 阅读全文
posted @ 2014-03-08 19:24 xiao dan feng 阅读(96) 评论(0) 推荐(0)
 
Ch2.Making Reconmmendation in PCI
摘要: 做《Programing Collective Intelligence》中chapter 2.Making Recommendation的实例,有3个问题花了好长时间:1. 遇到报错"UnicodeDecodeError: ‘gbk’ codec can’t decode bytes in position 2-3: illegal multibyte sequence"。看了http://www.tuicool.com/articles/nEjiEv这篇文章confirm了是编解码的问题,明显Python是用gbk解码数据文件的,而数据文件是用其他方式编码。用Notep 阅读全文
posted @ 2014-03-08 19:21 xiao dan feng 阅读(422) 评论(0) 推荐(0)
 
Configuration for Python to run on Android
摘要: It's exiting to learn tomake app on Android with python. But when I check , I found there was a lot of programming to download, to install, and a lot of set-up, a lot of configure...To make long story short, I recordhere everysteps and the exception I encountered in each step for reference.step 阅读全文
posted @ 2014-03-08 19:13 xiao dan feng 阅读(315) 评论(0) 推荐(0)
 
 

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3