富邦人壽新美利吉順(FJW1)建議書:

(exe檔,無需python環境也可執行)
SavingKingIRR_csv.exe
需要自己寫好逗點分隔檔
支援首續期不同保費
以及一次計算多年期IRR
不用寫逗點分隔檔
但首續期保費需相同
一次只能算一個年期
畫面會停在
您將輸入n年度末解約金?n=?
待使用者輸入下一筆資料或-9999離開
您將輸入n年度末解約金?n=?
待使用者輸入下一筆資料或-9999離開
雖已提供免費的IRR計算機
仍感謝粉絲信賴
付費幫忙計算IRR
6~10年IRR
| 年 | 現金流 | ||||
| 0 | -1026 | -1026 | -1026 | -1026 | -1026 |
| 1 | -1016 | -1016 | -1016 | -1016 | -1016 |
| 2 | -1001 | -1001 | -1001 | -1001 | -1001 |
| 3 | -985 | -985 | -985 | -985 | -985 |
| 4 | -969 | -969 | -969 | -969 | -969 |
| 5 | -952 | -952 | -952 | -952 | -952 |
| 6 | 5938 | 0 | 0 | 0 | 0 |
| 7 | 6293 | 0 | 0 | 0 | |
| 8 | 6512 | 0 | 0 | ||
| 9 | 6736 | 0 | |||
| 10 | 6965 | ||||
| IRR | -0.05% | 1.24% | 1.64% | 1.91% | 2.10% |
| 滿n年 | 6 | 7 | 8 | 9 | 10 |
| 增加率 | 5.98% | 3.48% | 3.44% | 3.40% |



]*>.*?底下插入一個圖檔.*?</w:p>’, flags = re.DOTALL) ; new_xml, n = pattern.subn(”, xml, count=1)' title='Python正則替換:全面掌握 re.sub 與 re.subn 的差異與實戰 #substitute(替換); . 預設匹配「除\n以外的任意單一字元」; pattern = re.compile(r'<w:p[^>]*>.*?底下插入一個圖檔.*?</w:p>’, flags = re.DOTALL) ; new_xml, n = pattern.subn(”, xml, count=1)' loading='lazy' width=350 height=233 />


![Python 讀取 DOCX 圖片關聯:qn+find/findall 與 XPath 的實戰對照 from lxml import etree ; from docx.oxml.ns import qn; lxml.etree._Element.findall( f”.//{ qn(‘a:blip’) }” ) ; .get( qn(“r:embed”) ) #獲取 屬性名 ‘r:embed’ 的 屬性值(如: ‘rId4’) ; lxml.etree._Element.xpath( “//a:blip/@r:embed”, namespaces = NS) #/@r:embed = 獲取 屬性名 ‘r:embed’ 的 屬性值(如: ‘rId4’),使用.findall() 要先.findall()獲取List[_Element],再迴圈_Element.get()獲取屬性值, .xpath() 第一個參數path 使用”//a:blip/@r:embed” ,可直接獲取屬性值(List[str]如: [‘rId4’, ‘rId4’]) Python 讀取 DOCX 圖片關聯:qn+find/findall 與 XPath 的實戰對照 from lxml import etree ; from docx.oxml.ns import qn; lxml.etree._Element.findall( f”.//{ qn(‘a:blip’) }” ) ; .get( qn(“r:embed”) ) #獲取 屬性名 ‘r:embed’ 的 屬性值(如: ‘rId4’) ; lxml.etree._Element.xpath( “//a:blip/@r:embed”, namespaces = NS) #/@r:embed = 獲取 屬性名 ‘r:embed’ 的 屬性值(如: ‘rId4’),使用.findall() 要先.findall()獲取List[_Element],再迴圈_Element.get()獲取屬性值, .xpath() 第一個參數path 使用”//a:blip/@r:embed” ,可直接獲取屬性值(List[str]如: [‘rId4’, ‘rId4’])](https://i2.wp.com/savingking.com.tw/wp-content/uploads/2025/11/20251119130848_0_3fbf6b.png?quality=90&zoom=2&ssl=1&resize=350%2C233)


近期留言