2013年11月30日 星期六

Python抓取個股財務比率合併財報季表

抓取"個股財務比率合併財報季表",我們以台泥1101來作範例。

python print函數取消\n -自動換行

python print 句末會自動換行,而其它的程式設計語言中,如C是print 轉義字元 \n 實現換行;然而有些時候並不想讓它自動換行,如

2013年11月13日 星期三

VC Build DLL在Linking階段,出現warning LNK4070的處理方式

VC Build DLL在Linking階段,出現以下訊息時的處理
Linking...
   Creating library Debug/Time1.lib and object Debug/Time1.exp
Time1.exp : warning LNK4070: /OUT:Time.dll directive in .EXP differs from output filename "Debug/Time1.dll"; ignoring directive

Time1.dll - 0 error(s), 1 warning(s)

2013年11月3日 星期日

VC6編譯出現的警告訊息LINK : warning LNK4089: all references to “ODBC32.dll” discarded by /OPT:REF

VC6編譯時Debug版本下沒問題,release版本下出現如下警告:
LINK : warning LNK4089: all references to “ODBC32.dll” discarded by /OPT:REF
LINK : warning LNK4089: all references to “ADVAPI32.dll” discarded by /OPT:REF
LINK : warning LNK4089: all references to “SHELL32.dll” discarded by /OPT:REF
LINK : warning LNK4089: all references to “comdlg32.dll” discarded by /OPT:REF

2013年11月2日 星期六

直接Debug DLL

開發DLL時,Debug時可能會常使用印log的方法,但其實VC裡有可以直接Debug,不需要管使否有EXE的原始碼的方法,以下將介紹這樣的方法。

2013年11月1日 星期五

補上缺少的Python函數

Python抓劵商公司,忘了附上lib在使用的函數,很抱歉,在此補上缺少的部分。