“Youwanttoknowwhythissongmakesyoucryandfeelsogreat?Thenlistentothissongwhilstinnaturewatchingasunset,lookupintothesky,embarceit.Thisworldisagiftandwehavetofeeltrulypartofit.Justletitallgoandembracethebeautyofthisplanetuponwhichwelive.Dothatformeplease.Gointoafieldorintonature,listentothissongandlookintothesky.Thenyouwillfindyourheartandthatiswhatmakesushuman.”
[
閱讀全文]
上小學的兒子問了我這麽一道數學題:1)使用+,-,×,/,(,和)六個操作符;2)使用操作數5,5,5,5,5;3)要求每個操作數/操作符隻使用一次。列出所有可能的表達式,並計算每個表達式的值。【注意】要排除諸如+-,()或55這種操作數/操作符連一起的情況;也要排除5(,)(,)5,(5)等情況。【腳本】版本使用python2.7x。演示腳本如下:【運行結果】共找到2[
閱讀全文]
這個鏈接可以幫你搞定在城裏2015.10.14[
閱讀全文]
用KMS激活Office20131)以管理員身份進入cmd命令行
2)如果Office是64位的:
CDProgramFilesMicrosoftOfficeOffice15
否則:
CDProgramFiles(x86)MicrosoftOfficeOffice15
3)鍵入:
cscriptospp.vbs/sethst:(kmshost的ip地址)
4)激活:
cscriptospp.vbs/act下麵是激活的實例:
----------------------------------------------
MicrosoftWindows[Version6.3.9600]
(c)2013Microsoft...[
閱讀全文]
錯誤信息:
RuntimeWarning:importdisplay:Nomodulenamed_view
RuntimeWarning:importdraw:Nomodulenamed_view
RuntimeWarning:importimage:Nomodulenamed_view
RuntimeWarning:importpixelcopy:Nomodulenamed_view
RuntimeWarning:importtransform:Nomodulenamed_view
解決辦法就是:Addimportpygame._viewtothetopofyourmainsourcefile,asdescribedhere.
另外,我的upx3.91在壓縮文件wxbase30u_vc90.dl...[
閱讀全文]
今天在調試一個Python的網頁腳本時,出現了如下錯誤:
C:Python27Libsite-packagesrequestspackagesurllib3utilssl_.py:90:InsecurePlatformWarning:AtrueSSLContextobjectisnotavailable.Thispreventsurllib3fromconfiguringSSLappropriatelyandmaycausecertainSSLconnectionstofail.Formoreinformation,seehttps://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
原來,安裝/更新一下PyOpen...[
閱讀全文]
今天在啟動VMWare虛擬機時,出現下麵的錯誤:
“Theparentvirtualdiskhasbeenmodifiedsincethechildwascreated.ThecontentIDoftheparentvirtualdiskdoesnotmatchthecorrespond-ingparentcontentIDinthechild”
最後通過這個鏈接搞定了:)
2015.08.01
[
閱讀全文]