Changes between Version 17 and Version 18 of wade/python
- Timestamp:
- May 6, 2010, 2:09:51 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
wade/python
v17 v18 1 [[PageOutline]] 1 2 = Windows Python IDE = 2 3 * 下載安裝: … … 38 39 * http://diveintopython3.org/strings.html 39 40 40 = mysql = 41 = lib = 42 == mysql == 41 43 * mysqlDb:http://sourceforge.net/projects/mysql-python/ 42 44 43 = py2exe=45 == py2exe == 44 46 for python2.x 45 47 * 官網:http://www.py2exe.org/ 46 48 * 下載:http://sourceforge.net/projects/py2exe/files/ 47 49 48 = cx_freeze=50 == cx_freeze == 49 51 for python3.1 50 52 * 下載:http://cx-freeze.sourceforge.net/ 51 53 * 路徑:python3.1/Scripts 52 54 * 指令:cxfreeze smartOutletSimulator --target-dir dist --target-name smartOutletSimulator.exe 55 56 == tkinter == 57 * 出現 「No module named _tkinter」 錯誤: 58 1. 安裝 Tcl/tk 59 {{{ 60 sudo apt-get install tcl-dev tk-dev 61 }}} 62 1. rebuding python 63 1. test: 64 進入 python shell 後輸入以下命令。 65 {{{ 66 import import _tkinter 67 import tkinter # for python 3.0。 python 2.X 請將 t 改為 T,import Tkinter 68 tkinter._test() # for python 3.0。 python 2.X 請將 t 改為 T,Tkinter._test() 69 }}} 70 71 72 * http://wiki.python.org/moin/TkInter 53 73 54 74