Why does this work completely fine on this website, but when I download it, it just breaks.
Like I'm trying to compile it into an exe file, but when I run the script before compiling it, it just does not work like it does on repl.
Make sure you have the external packages installed on your PC
On windows, you can install them with the cmd or powershell command
py -m pip install rand_string, as this is the only one you appear to be actually using
Also, what are you using to compile into an exe