Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

can anyone point out what's wrong?


fuser's Avatar
Member
0 -1

well, I decided to write a simple password generator in python as an experiment, and it compiled with no errors, but when I tried to run it it shows up blank. (I was expecting it to spew out a list of generated passwords) So can anyone point out where I went wrong?

you can look for the code at: http://pastebin.ca/1056576

Note: the last line should be indented, it's just that pastebin somehow did it the other way around.


reaper4334's Avatar
Member
0 0

I'll be honest, I had a 2 second peek.. but you're specifying a class and not using it?

x = password()
x.renew(5)

Or did you just not post that bit?


ghost's Avatar
0 0

can anyone point out what's wrong? Yes, you either don't know how to program in python or you copied the code from some other retard. By the way, I have never had any problems with pastebin so I am guessing you fucked up the indentation all on your own.

Now, on to the code: http://pastebin.ca/1056751 The code was really bad. I tried to fix it a little but I did not understand what you were trying to do. I left you comments. Fix it up it you want further help or try and clearly explain what you want to do in English.

Good day sir.