锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲人av在线,91麻豆精品久久久久蜜臀,国产精品素人一区二区http://www.aygfsteel.com/leekiang/category/34622.htmlMDA/MDD/TDD/DDD/DDDDDDDzh-cnThu, 28 Jul 2011 21:18:04 GMTThu, 28 Jul 2011 21:18:04 GMT60ubuntu涓媎jango寮鍙戠幆澧?/title><link>http://www.aygfsteel.com/leekiang/archive/2011/07/29/355271.html</link><dc:creator>leekiang</dc:creator><author>leekiang</author><pubDate>Thu, 28 Jul 2011 18:19:00 GMT</pubDate><guid>http://www.aygfsteel.com/leekiang/archive/2011/07/29/355271.html</guid><wfw:comment>http://www.aygfsteel.com/leekiang/comments/355271.html</wfw:comment><comments>http://www.aygfsteel.com/leekiang/archive/2011/07/29/355271.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/leekiang/comments/commentRss/355271.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/leekiang/services/trackbacks/355271.html</trackback:ping><description><![CDATA[1錛屼笅杞紻jango-1.2.5<br />2錛宼ar xzvf Django-1.2.5.tar.gz<br />3錛屽湪Django-1.2.5鐩綍涓嬫墽琛岋細sudo python setup.py install<br />4錛?usr/www涓嬫墽琛岋細 django-admin.py startproject easydjango<br />5錛?usr/www/easydjango涓嬫墽琛岋細 python聽 manage.py runserver<br /><br /><img src ="http://www.aygfsteel.com/leekiang/aggbug/355271.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/leekiang/" target="_blank">leekiang</a> 2011-07-29 02:19 <a href="http://www.aygfsteel.com/leekiang/archive/2011/07/29/355271.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>python絎旇http://www.aygfsteel.com/leekiang/archive/2010/05/11/320609.htmlleekiangleekiangTue, 11 May 2010 10:21:00 GMThttp://www.aygfsteel.com/leekiang/archive/2010/05/11/320609.htmlhttp://www.aygfsteel.com/leekiang/comments/320609.htmlhttp://www.aygfsteel.com/leekiang/archive/2010/05/11/320609.html#Feedback0http://www.aygfsteel.com/leekiang/comments/commentRss/320609.htmlhttp://www.aygfsteel.com/leekiang/services/trackbacks/320609.htmlSQLAlchemy鏄痯ython鐨勪竴涓湁鍚嶇殑鏁版嵁搴揙RM錛岀畝鍗曟槗鐢紝鍔熻兘寮哄ぇ錛屼笉闇瑕佷粈涔坸ml,鐢熸垚鐨凷QL鑴氭湰騫插噣綆媧併?br />SQLAlchemy 鐨?ORM 閬典粠 DataMapping 璁捐妯″紡錛岃?Elixir 鍒欐槸鍦?SQLAlchemy 鍩虹涓婄殑涓灞?ActiveRecord 妯″紡鐨勫疄鐜幫紝瀹冧嬌鐢ㄤ竴濂楃被浼?RoR 鐨?ActiveRecord 緋葷粺鐨勯鍩熻璦璇硶錛屼粠姝ゅ紑鍙戣呭彲浠ョ敤涓縐嶆洿鍔犵畝媧佺殑鏂瑰紡瀵?SQLAlchemy 鐨勫己澶у姛鑳借繘琛岃闂?br />

leekiang 2010-05-11 18:21 鍙戣〃璇勮
]]>
Trac絎旇http://www.aygfsteel.com/leekiang/archive/2010/03/03/314471.htmlleekiangleekiangWed, 03 Mar 2010 15:37:00 GMThttp://www.aygfsteel.com/leekiang/archive/2010/03/03/314471.htmlhttp://www.aygfsteel.com/leekiang/comments/314471.htmlhttp://www.aygfsteel.com/leekiang/archive/2010/03/03/314471.html#Feedback0http://www.aygfsteel.com/leekiang/comments/commentRss/314471.htmlhttp://www.aygfsteel.com/leekiang/services/trackbacks/314471.htmlTrac 鎵嬭(涓? : 搴旂敤 Trac
Trac+subversion鎷ユ湁寮哄ぇ鐨刡ug綆$悊鑳藉姏

鍩轟簬Web鐨勪唬鐮乺eview宸ュ叿:http://code.google.com/p/reviewboard/

http://vik.haoluobo.com/trac/wiki/Django


leekiang 2010-03-03 23:37 鍙戣〃璇勮
]]>
python涓枃澶勭悊鍔炴硶http://www.aygfsteel.com/leekiang/archive/2008/10/09/233446.htmlleekiangleekiangThu, 09 Oct 2008 13:46:00 GMThttp://www.aygfsteel.com/leekiang/archive/2008/10/09/233446.htmlhttp://www.aygfsteel.com/leekiang/comments/233446.htmlhttp://www.aygfsteel.com/leekiang/archive/2008/10/09/233446.html#Feedback0http://www.aygfsteel.com/leekiang/comments/commentRss/233446.htmlhttp://www.aygfsteel.com/leekiang/services/trackbacks/233446.htmlpython澶勭悊瀛楃涓插緢瀹規槗錛屼絾鏄湪澶勭悊涓枃鐨?/span>鏃跺欓渶瑕佹敞鎰忎竴浜涢棶棰樸?br /> 姣斿錛?br />
a = "鎴戜滑鏄痯ython鐖卞ソ鑰?
print a[0]

鍙兘杈撳嚭鈥滄垜鈥濆瓧鐨勫墠鍗婇儴鍒嗭紝瑕佹兂杈撳嚭鏁翠釜鐨勬垜瀛楄繕闇瑕?br />
b = a[0:2]
print b

鎵嶈錛屽緢涓嶆柟渚匡紝騫朵笖褰撲竴孌墊枃鏈腑鍚屾椂鏈変腑鑻辨枃?姘栫剻铓濊嫞姹涱瀸鎬?
鏈濂界殑鍔炴硶灝辨槸杞崲涓簎nicode銆?br />
鍍忚繖鏍鳳細

c = unicode(a, "gb2312")
print c[0]

榪欎釜鏃跺檆鐨勪笅鏍囧搴旂殑灝辨槸姣忎竴瀛楋紝涓嶅啀鏄瓧鑺傦紝騫朵笖閫氳繃 len(c) 灝卞彲浠ヨ幏寰楀瓧鏁幫紒
榪樺彲浠ュ緢鏂逛究鐨勮漿鎹負鍏朵粬緙栫爜錛屾瘮濡傝漿鎹負 utf-8

d = c.encode("utf-8")

杞嚜 http://www.okpython.com/bbs/viewthread.php?tid=311


leekiang 2008-10-09 21:46 鍙戣〃璇勮
]]>
python+cx_Oracle 鎿嶄綔Oraclehttp://www.aygfsteel.com/leekiang/archive/2008/09/27/231467.htmlleekiangleekiangSat, 27 Sep 2008 04:20:00 GMThttp://www.aygfsteel.com/leekiang/archive/2008/09/27/231467.htmlhttp://www.aygfsteel.com/leekiang/comments/231467.htmlhttp://www.aygfsteel.com/leekiang/archive/2008/09/27/231467.html#Feedback0http://www.aygfsteel.com/leekiang/comments/commentRss/231467.htmlhttp://www.aygfsteel.com/leekiang/services/trackbacks/231467.htmlHow to exclude DLLs from the distribution

Sometimes, Python extensions require supporting DLLs from the system. One example of this is cx_Oracle, which requires the Oracle client software in order to do its job. Because cx_Oracle.pyd depends on the Oracle OCI library, py2exe's dependency tracking includes the file OCI.dll from the Oracle distribution in the distribution directory.

However, it is not appropriate to include OCI.dll with your software, as it is specific to the version of the Oracle client software on the target machine, and is not useful in isolation.

So, you need to tell py2exe to exclude this DLL from the resulting distribution. The dll_excludes option lets you do this (it's documented in the docstring for the py2exe module). It does not work from the command line, but you can include it in your setup.py as described in PassingOptionsToPy2Exe
setup(
options = {"py2exe": { "dll_excludes": ["oci.dll"]}},
...
)
鏉ユ簮:http://www.py2exe.org/index.cgi/ExcludingDlls



leekiang 2008-09-27 12:20 鍙戣〃璇勮
]]>
windows xp涓嬫惌寤簆ython+django寮鍙戠幆澧冪殑絎旇http://www.aygfsteel.com/leekiang/archive/2008/09/15/228944.htmlleekiangleekiangSun, 14 Sep 2008 17:19:00 GMThttp://www.aygfsteel.com/leekiang/archive/2008/09/15/228944.htmlhttp://www.aygfsteel.com/leekiang/comments/228944.htmlhttp://www.aygfsteel.com/leekiang/archive/2008/09/15/228944.html#Feedback0http://www.aygfsteel.com/leekiang/comments/commentRss/228944.htmlhttp://www.aygfsteel.com/leekiang/services/trackbacks/228944.html
2,涓嬭澆python鐨別clipse鎻掍歡Pydev,鏂囦歡鍚嶄負org.python.pydev.feature-1_3_20.zip錛屼互鎻掍歡鐨勬柟寮忓畨瑁呫傞渶瑕佸湪eclipse鐨刾references涓厤緗甶nterpreters涓篊:\Python25\python.exe銆?濡傛灉涓嶆槸鐢≒ydev,2鍙渷)

3,涓嬭澆Django-1.0.tar.gz,瑙e帇,cmd鎺у埗鍙癱d鍒?span class="hilite1">Django鐩綍錛屼緥濡侰:\download\Django-1.0錛屽彲浠ョ湅鍒拌繖涓洰褰曚笅鏈塻etup.py鏂囦歡,鍦╟md涓墽琛?span>"python聽setup.py聽install"

4, 璁劇疆鐜鍙橀噺path涓鍔?
C:\Python25\Lib\site-packages\django\bin",閫鍑篶md,閲嶈繘(璁劇疆鐜鍙橀噺鍚庤閲嶅惎cmd鎵嶈兘鍦╟md涓敓鏁?錛屽湪鑷繁鎸囧畾鐨勬煇涓洰褰曚笅鎵ц"django-admin.py聽startproject myfirstapp"錛屽垯浼氬湪璇ョ洰褰曚笅鍒涘緩myfirstapp鐩綍.cd 鍒?span>myfirstapp鐩綍涓嬶紝榪愯python聽manage.py聽runserver
鎵撳紑嫻忚鍣ㄨ緭鍏ttp://127.0.0.1:8000,浼氱湅鍒癐t worked!絳夊瓧鏍楓傚埌姝?span class="hilite1">Django宸茬粡瀹夎鎴愬姛


leekiang 2008-09-15 01:19 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 南川市| 东阳市| 墨脱县| 安新县| 涡阳县| 清远市| 承德县| 通道| 密山市| 湛江市| 张家港市| 福泉市| 台北县| 河间市| 师宗县| 榕江县| 巴南区| 楚雄市| 桂阳县| 石屏县| 吴川市| 临沭县| 安徽省| 宝坻区| 青神县| 闽侯县| 卢龙县| 县级市| 黄陵县| 烟台市| 塔城市| 白银市| 广州市| 安国市| 义马市| 贵定县| 连山| 康保县| 桐庐县| 蓬莱市| 桑日县|