As title, after a few hours' efforts, I finally find out the magical trick.
I thought it was my IO method too slow and had tried a lot of IO method, but did not work at all.
The devil is hidden in the details.
Let's see this post: https://python3-cookbook.readthedocs.io/zh_CN/latest/c14/p14_make_your_program_run_faster.html
Have a nice day^^