Extraction script running correctly but very slowly #593
-
So, I am very new to programming still! This was my first time installing a package and running it in a virtual environment. I have a bunch of .7z files in my downloads folder that are relatively large, anywhere from 300 mb to 3 gigs. I want to extract them and move the extracted files to my Romtest folder. This is working just fine but I find that each file is taking a minute or longer. It's still saving me clicks so it's not a huge deal, but I would like to know what I'm doing wrong. Any responses are appreciated. I'm also executing the file inside VS Code if that makes a difference. I only have about 100 files in the downloads folder. Inside each zip, there are 1-3 files. Total size of contents comes out to maybe 20% bigger than the zip file. I'm so noob I can't even format my code properly when pasting it. Here is a pastebin: https://pastebin.com/J8dzaJdC Environment:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I think I found the answer. I needed to import multiprocessing. Thank you new Claude 3.5, thanks for nothing ChatGPT. |
Beta Was this translation helpful? Give feedback.
I think I found the answer. I needed to import multiprocessing. Thank you new Claude 3.5, thanks for nothing ChatGPT.