python学习

一、资料

书籍

     初:python简明教程
     中:python核心编程(靠后章节)
http://product.dangdang.com/20255354.html
     高:dive into python 3  
http://product.dangdang.com/1128640108.html 

 

编码规范
      Google Python 风格指南  
http://zh-google-styleguide.readthedocs.org/en/latest/google-python-styleguide/

 

教程

  http://www.w3school.com.cn/json/

  http://www.liaoxuefeng.com/wiki/001374738125095c955c1e6d8bb493182103fac9270762a000/

 

*加载包用pip

http://www.tuicool.com/articles/eiM3Er3

http://blog.sina.com.cn/s/blog_7d31bbee0101lk1i.html

 

*IDE

注:IDE比较慢,cmd里运行熟读会快很多

http://www.zhihu.com/question/27359349

http://www.360doc.com/content/14/0929/10/15077656_413170555.shtml

 

*输出exe

1.总体介绍

http://www.crifan.com/use_pyinstaller_to_package_python_to_single_executable_exe/

2.pyinstaller

http://blog.csdn.net/hmy1106/article/details/45151409

http://www.crifan.com/use_pyinstaller_to_package_python_to_single_executable_exe/

备注:

pip安装

1. 64位win8下没有下载win32

2. 不需要进入其目录,可以直接运行命令

3. 需要添加第三方库的路径

PyInstaller --p D:\Python27\Lib\site-packages --onefile test.py  

3. cx_freeze

http://pep525.blog.51cto.com/2544662/573655

 

备注:version不能省

# -*-encoding:utf-8-*-
from cx_Freeze import setup, Executable;


setup( name = "test",
version = "16.8",
executables = [Executable("test.py")])

 

 

posted @ 2016-02-17 16:32  Hi,Leisure  阅读(180)  评论(0编辑  收藏  举报