close Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_core.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.

Changes between Version 17 and Version 18 of wade/python


Ignore:
Timestamp:
May 6, 2010, 2:09:51 PM (14 years ago)
Author:
wade
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • wade/python

    v17 v18  
     1[[PageOutline]]
    12=  Windows Python IDE =
    23 * 下載安裝:
     
    3839 * http://diveintopython3.org/strings.html
    3940
    40 = mysql =
     41= lib =
     42== mysql ==
    4143 * mysqlDb:http://sourceforge.net/projects/mysql-python/
    4244
    43 = py2exe =
     45== py2exe ==
    4446 for python2.x
    4547 * 官網:http://www.py2exe.org/
    4648 * 下載:http://sourceforge.net/projects/py2exe/files/
    4749
    48 = cx_freeze =
     50== cx_freeze ==
    4951for python3.1
    5052 * 下載:http://cx-freeze.sourceforge.net/
    5153 * 路徑:python3.1/Scripts
    5254 * 指令: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   
    5373
    5474