Home > other >  Ask a question of python pyqt5 multithreading, foundation is bad, didn't understand.
Ask a question of python pyqt5 multithreading, foundation is bad, didn't understand.

Time:11-27

Self. Thread_downmp4. Data=https://bbs.csdn.net/topics//SRC, self. Videopath
Self. Thread_downmp4. Start ()

Self. Thread_downmp4 according to the site to download MP4 thread class

Question: when given url download 1 1. MP4 files, perform self. Thread_downmp4. Start (), are downloaded at the same time give that address 2 perform self. Thread_downmp4. Under the start ()
Take 2. MP4 what happens:
1. MP4 at the same time continue to download download 2. MP4;
1. MP4 to stop downloading, 2. MP4 began to download;
1. Continue to download MP4, 2. MP4 cannot download,

Self. Thread_downmp4. Data=https://bbs.csdn.net/topics/[' http://cctv/1.mp4 ', '1. Mp4]
Self. Thread_downmp4. Start ()
Self. Thread_downmp4. Data=https://bbs.csdn.net/topics/[' http://cctv/2.mp4 ', '2. Mp4]
Self. Thread_downmp4. Start ()







  • Related