python學習

1、資料html

書籍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/
json

 

教程ide

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

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

 

*加載包用pip編碼

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

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

 

*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")])

相關文章
相關標籤/搜索