2018年5月25日 星期五

[Python] Export to CSV File


    myFile = open('example3.csv', 'w', newline='')
    with myFile:
        writer = csv.writer(myFile)
        writer.writerows(listDBItem)

    for row in listDBItem:
        myFile = open('example2.csv', 'a', newline='')
        with myFile:
            writer = csv.writer(myFile)
            writer.writerow(row)

2018年5月16日 星期三

[other] Everything 搜尋多個 Word檔 內容


SOL:
D:\ASolid_PC\Chrome_Download\NewEmployee\ content:滑雪


2018年5月10日 星期四

[VC] UAC Execution Level to requireAdministrator.


Go to Project -> Properties -> Configuration Properties -> Linker ->Manifest File.

Change UAC Execution Level to requireAdministrator.


REF:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/4185220d-8fd5-48b6-a2a7-f387600bc7f8/mfc-application-to-pop-up-uac-window?forum=vclanguage

2018年5月7日 星期一

[Python] Pip setup



C:\Users\rex.wu\AppData\Local\Programs\Python\Python36-32\Scripts


 需更新環境變數:







2018年5月3日 星期四

[MFC] change VC2017 default folder



C:\Users\rex.wu\source\repos





[SSD] M.2



舉例來說,有B和M型兩個缺口的M.2模組,使用最多兩個PCI Express通道並提供廣泛的相容性,而只有一個缺口的M型M.2使用最多四個PCI Express通道;以上兩例也可能提供SATA儲存裝置。類似的卡口適用於提供USB 3.0連通性的



M.2模組











ref:

https://zh.wikipedia.org/wiki/M.2