I'm trying to brute force a ZIP file for a school project and realized that's very slow (about 1600 Tries/Sec).
Is it any method that allows to run multiples tries at the same time or split the whole process without slowing it down? I heard about the thread
module but not sure if that's reall what I need ;)
Thanks!
Asked
Active
Viewed 2,044 times
-1

Blax
- 500
- 3
- 7
- 18
1 Answers
2
use multiprocessing module
take a look at this : https://pymotw.com/3/multiprocessing/basics.html
Dead simple example of using Multiprocessing Queue, Pool and Locking
by using multiprocessing you can split the job between your cpu cores