Password Generator - Made in Python

free web hosting
Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > Others

Password Generator - Made in Python

lloydg
This is a Password Genorator i made in python use Tkinter as the GUI.

I will Compile it soon so people with out Python can use it.

here is the source code
CODE
import random, math
from Tkinter import *

root=Tk()
root.title("PassGen")

length = Label(root, text="password length:")
length.pack()

input = Entry(root, text="8")
input.pack()
input.insert(0, "8")
units = "abcdefghijkmnopqrstuvwxyz0123456789"
password = Label(root, text="password:")
password.pack()

output = Entry(root, state="readonly")
output.pack()



def Genorate():
    if int(input.get()) <= 20:
        
        pw = ""
        for i in range(int(input.get())):
            pw = pw + random.choice(units)
            
        output.config(state=NORMAL)
        output.delete(0, 20)    
        output.insert(0, pw)
        output.config(state="readonly")
        
    else:
        output.config(state=NORMAL)
        output.delete(0, 20)    
        output.insert(0, "Max length 20")
        output.config(state="readonly")

        

make = Button(root, text = "Genorate", command = Genorate)
make.pack()

root.mainloop()


Comments please smile.gif

 

 

 


Reply

TypoMage
Hmm I know nothing about any of these languages but what do you mean by a password generator? Is it like you push a button and a random assortment of letters and numbers come up? Please explain?

Reply

Zachy2411
Yes, do you know C++? Can you write that program in C++? What is the program's function - if you tell me about Python I will appreciate it, because it looks simpler than C/C++. You can PM me or reply here, for the rest to see it.

Reply

lloydg
TypoMage yes you pick how long you want the password to be (how many chars) then it give u a password that long from random letters and numbers.. i will give some example for passwords it has made here

gcrzcdku
wnp3zrot
2kxj95ee
0oabjjdw
3rc80g6y
07ybrekr
2bqm1jbb
ect...

they are really good would take a cracker on average about 1 year atlest to crack.. but there hard to remember... saveing them on your computer is a bad idear because they have virus/trjans that scan your comp for passwords... but on a pda or printing them to remmeber is good idear...

Zachy2411 i dont know c++ and python is simpler from what i know about c++... my program here is not as simple as it can be because i made it with a gui python normaly just uses a consul if i had no gui it would take up half the lines as what i have..

python is free and easy to lern (lots of help can be found for it on forums ect) the problem is to compile it to give to people who dont ahve python is hard... like u can make it into and exe but it normaly need about 3 -4 dll's with it and files..

I will comple this then zip all it need and upload it so you guys can use it.....
i might be able to get it into 1 file.. if not you will have to have all the files in to 1 folder... C++ would be good cuz i think you can make stand alone exe's easy. i think.

thanks for replys,
lloyd

 

 

 


Reply

lloydg
Ok, i have Uploaded a compiled version which you can download and use your self!!
(windows only)

Reply

Zachy2411
I downloaded and extracted it. read the readme and opened the folder. i double-clicked the icon and nothing happened. hmm....

Reply

augyd
-

Reply

lloydg
QUOTE(augyd @ Jun 15 2007, 04:01 AM) *
Same thing here, it downloaded and extracted fine, but didn't do anything when I ran the program. Is it possible you've got some files on your system needed to make it work that were left out of the zip file? I'd love to get this up and running, sounds like a useful program.

yes i think thats what is rong.. on my comp it runs by its self.. but i will look up about it... i think there are some dll's it needs

Reply

MiniK
I'd try compiling it in py2exe. That's probably the best Python compiler out there. It generates an exe file (the clue's in the name), which only needs one dll normally although as you are using Tkinter it may need more than one.

EDIT: I've dowloaded the zipped version. It runs on my system, though I suspect that's because I have Python installed on my system.

Reply

MotU2510
I agree with MiniK; py2exe is one of the easiest Python compilers out there. It's really simple but very powerful.

Oh, and I like the way the coding was done. I'm intrigued by your use of Tkinter, did it really need a GUI. I suppose it does look pretty good like that, although it's not something I myself would have done, mainly because I'm not very good with Tkinter.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : password, genorator, made, python

  1. I Think I Need A Cpan Password Reset
    (0)
  2. Internet Explorer - The Worst Standards Compatible Browser Ever Made
    (9)
    I hate that peace of junk web-browser, and I don't know what THE HELL were Microsoft's
    devs thinking when they made it and decided it to be bundled with the OS and not making it nearly
    good enough as other variants. I can say, yes, I understand that a browser needs to be
    incorporated into the OS, otherwise how could a man go and surf the web or download other browser?
    /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> But I can't
    understand on what crack were the devs when they created IE 4 (and higher browsers, though....
  3. Made These Many Months Ago
    (1)
    Border stinks, I know - Back when Samus sigs were the shiz
    http://32-gfx.deviantart.com/art/Space-78421203 - Too large to show, 56K be warned.....
  4. I Made It, But I Don't Like It
    (2)
    This is the first signature I have made in a long, long time so yeah I'm rusty. I don't like
    it myself, what do you think?: Rambo FTW!!....
  5. How Do Uninstall Deep Freezer If I Lost Password?..
    (2)
    i have lost the password of my deep freezer instaalled to my computer and i want to install
    softwares but it is not saving cuz of the deep freezer so how can i uninstall it......i don't
    have the password......
  6. I Need Help With Setting Up My Site, Made Using Java
    any help would be appreciated (5)
    I just got web hosting approved and I want to host the site I created using Struts framework.
    I'm a complete newb when it comes to web hosting, so I need a little help. Is there a tutorial
    that covers this subject? I apologize in advance if this question was already answered, but
    I've been unable to find the answer anywhere. One thing I have to note is that I need to know
    absolute address of the uploaded files in order for my application to work. Is this even allowed?
    Any help with hosting of Java applications will be appreciated.....
  7. Invisionfree Skin How-to Put On Your Forum
    A skin I partially made, I show you how to put on your forum. (1)
    Hey All who may want an invisionfree forum skin, because they are tired of their old, boring,
    squarish one. Well I helped with this skin, and I'm going to give an explanation for starting
    users, so that they may too, have a nice forum skin! First of all, when installing a new skin on
    your board, no upload or download is needed. You will most definately have to replace your old forum
    CSS or "Style sheets" (as called in the invisionfree Admin CP). You will almost all the time have
    to place something in the footer (in Board wrappers IN THE ADMIN CP), and usually a ....
  8. Python Server
    (1)
    Hi, i was interested in submitting a wiki engine to the host. The problem is that i was planning to
    use moinmoin wiki which is written in pyhon. I would like to know if there is a way to make the host
    support this wiki(python)?....
  9. Recommended List Of Money Making Sites
    A list of 10 sites from which easy money can be made (0)
    I just want to let everyone know I have updated my list of money making websites and in my opinion
    the 10 listed are the most reliable and honest money making sites that are free to join available.
    Please review this blog and let me know what you think http://makeeasymoney247.blogspot.com ....
  10. Password Reset [resolved]
    (2)
    Hi, i created the account some time ago and i hadnt used it, i would like to have my password
    reseted since i dont remember wich i have choosen. Thanks. Regards, Seba....
  11. How Do I Find My Mysql Password? [resolved]
    Cannot access my MySQL (5)
    After all the recent problems, my account has been restored. I have setup my parked domain agin, and
    that works fine. However, I can no longer access my MySQL databases (I can from PHPMyAdmin, but
    that's all). I had to create a new user for my databases, and created the user with exactly the
    same username and password I had before, but some of my web pages do not let me access the pages I
    have associated with my databases. Where could i find out what my DB password is? (Although I am as
    good as sure I am using the right one). I have tried my old password, the new c....
  12. I Made $25 In 15 Minutes
    (7)
    I actually made $25 in about 15 minutes. Mostly just by entering my email into forms supplied
    by the website. Its cool because they deposit your money directly into your Pay Pal account. Check
    it out by copying and pasting the link below. http://www.treasuretrooper.com/ Referral
    links are not allowed at Trap17. Removed. ....
  13. Python
    (1)
    Can anyone tellme what Python is... i have read it on a lot of webhosting sites......
  14. Cant Login To Cpanel On A Just Made Account O_o
    (2)
    yes,i cant login i can login to normal panel but not to cpanel i get an error every time i login i
    created a ticket some days ago and im not getting a responce please help me ThePro....
  15. My 2 Best Sigs I've Ever Made
    (7)
    Here you go, I worked really hard on these to make them right /biggrin.gif"
    style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /> In my opinion they are my 2
    best Sorry about same font, I couldn't find a better one LOL....
  16. Python Forum
    (5)
    Hi, as the title says i want a python forum in trap17. The thing is that the admin cannot add a
    forum just for me, so i would like to listen your opinions about this. Python is a programming
    language that is growing really fast this years. It has become very famous in the open source
    community. The link to the webpage of python is : http://www.python.org/ . It would be interesting
    to share our ideas about this topic in the forum. Regards....
  17. My Made Up Poems.
    (2)
    OK, here are some of the poems I have made up for my own entertainment, so I decided to post them
    for everyone else, please rate my poems from 1-10, and tell me if there is anything I should work
    on. ^^ I like writing poems. Especially limericks, concrete, and free verses. And please keep in
    mind this is my first post. /tongue.gif" style="vertical-align:middle" emoid=":P" border="0"
    alt="tongue.gif" /> And I will edit this when I feel like being creative. /ph34r.gif"
    style="vertical-align:middle" emoid=":ph34r:" border="0" alt="ph34r.gif" /> Here they are: Li....
  18. Simple Javascript And Password System
    How to protect your pages with password (6)
    The quickest way to get a password protection system up and running is to use a Prompt box in
    JavaScript that has a title like "Enter your Email Address". Only you and the relevant users know
    what the password should be, could even be one each, that can be sorted out at the next page then
    pass the "input" directly through the url by changing the .href, like
    http://www.iSource.net.nz/users/?leTmeIn= The page that then processes this should also check for
    the referring page, and three fails from an IP if you like the php (the next page): CODE
    <?php // processdo....
  19. What If Marijuana Was Legal?
    What would happen? Should it be made legal? (28)
    Recently I did a school report on Marijuana, in my paper I'm supporting the fact that Marijuana
    should be made legal. I thought "some" people would like to read my work, and maybe talk about it
    some. Please, tell me what you think! /wink.gif" style="vertical-align:middle" emoid=";)"
    border="0" alt="wink.gif" /> Also, sorry if there's some typos and misspellings. For I am
    really tired, and this isn't fully done yet. Also, you should know I spend some time comparing
    weed to tobacco, that's all I'll say =) QUOTE Marijuana 1 ou....
  20. What Made You Switch To Linux?
    (38)
    I first tried Linux a few years ago, not because I was completely against Windows or anything like
    that, but just because I had some free time on my hands. I started off with Mandrake 9.0 which was
    very user friendly and Windows-like. After reading through a bunch of message boards and learning
    which distros are good for what, I soon realized my current distro was great for Linux noobs. So
    then I decided to try something a little more advanced like Slackware which I knew had a steep
    learning curve. Since then I've been using Slackware as my main OS and couldn't ....
  21. Change Your Computer Password
    Change Your Computer Password (6)
    This Topic will teach how can you change your without knowing your old Passward 1. Click "Start"
    Then Click "Run". 2. In the dialog box type in "CMD" and select "OK". (Opens Command Prompt) Or you
    can manually open CMD by navigating to "C:\WINDOWS\system32\cmd.exe". 3. Once
    Command Prompt is open, type in "net user" and hit enter. This will display all user accounts. 4.
    Now type in the following command: " net user (ACCOUNTNAME) * " and hit enter Example: net user
    Trap * (Dont forget to add the asterisk) 5. Now it will ask for a new password, enter....
  22. How Many Rodent Kills Have We Made So Far This Year?
    Not all rodents are bad, consider the hare, but some... (5)
    So, as some of you know, I do a bit if varmint shooting and I don't have to go far. There is a
    little balcony on the third floor of my house which is where I spend much of my time in front of the
    computer unless it just gets too damn hot. Many people who see the balcony think of it as a tree
    stand like a hunter would use to stay up and away from deer (apparently they never look up). I have
    a good view to the garden and in the afternoons I sometimes count as many as four chipmunks in the
    garden harvesting sunflower seeds for the winter. I suppose I should thank them f....
  23. Computer Admin Login With Lost Password?
    Hack my own comp. (15)
    Im trying to fix some things on my acount but, i hava to be able to log into my Admin. acount. my
    dad had the comp. before me and he forget the password to get into the acount. how do i hack into my
    own computer to get the password, or is there any way of defragging my comp. without being a admin?....
  24. Windows Admin Password Hack
    (2)
    Windows Admin Password Hack: Forgot your NT admin password? Reinstall? Oh no... But not any more...
    This is a utility to (re)set the password of any user that has a valid (local) account on your NT
    system. You do not need to know the old password to set a new one. It works offline, that is, you
    have to shutdown your computer and boot off a floppydisk or CD. The bootdisk includes stuff to
    access NTFS and FAT/FAT32 partitions and scripts to glue the whole thing together. Will detect and
    offer to unlock locked or disabled out user accounts! It is also an almost fully ....
  25. Forgot Password To Trend Micro Internet Security
    Is there a way to remove it? (6)
    One day I was bored so I set a password for our Web security software, Trend Micro Internet
    Security. I turned on the URL filter, and now, whenever my friends send me something funny that has
    no porn or anything in it, I get the Blocked error. I am really annoyed by this; I can't change
    other setting in the software too. Is there any way to either reset the password or remove it,
    without uninstalling Trend Micro?....
  26. What Is Mysql's Default Root Password?
    Just installed in on my Linux box (8)
    I installed SuSE Linux 9.1 Professional on an old computer recently. I installed MySQL server
    (version 4.0.18), Webmin (version 1.250) and Usermin (version 1.180). If I try to connect to the
    MySQL server with the username root and no password, I get an invalid login error from Webmin,
    Usermin and mysql-cc. What is the default password, and how can I change it? I am very excited to be
    learning Linux (after a long journey through Windows-land), but get frustrated on loopholes like
    these. Also, an a different note, why would the system stop loading after a certain point (to....
  27. Changing A Gmail Password
    how do u do it? (10)
    hi i have a gmail account well a couple of them and i know that someone has been getting on my
    account and screwing with it however i dont know how im supposed to get on and change my password.
    i've tried even getting them to send me information and what not when i forget my password but
    all the same i can never get to a point where i can change it and it kinda is making me upset. my ex
    gets on my account and yells at my friends telling them that i've changed and that i dont want
    anything to do with them and thats wrong i love my friends. anywayz if you know how ....
  28. Making Winrar Archives
    and adding password to winrar archives (12)
    **** This tutorial will show you how to put files into .rar Archive and pass worded (if wanted)
    **** What You Will Need Before continuing you will need a couple of thing, first of all you
    need WINRAR , which is a very powerful archive manager. It can reduce size for you email
    attachments, decompress RAR, ZIP and other types of files downloaded from the internet. You can get
    winrar at http://www.rarlabs.com The other thing is that make sure your using Windows XP because
    this is what I used to make this tutorial. I think it works with any other windows not....
  29. Setting Aflame A Sinner's Hope
    A song i made for my band Lord of the Sabbath (3)
    Setting Aflame To A Sinner’s Hope Burn! If you thought for a moment I was just like you Then
    you’re sadly mistaken This world goes by like a déjà vu But I’m never a part of them If you’ve seen
    what I have, then you know I’m right This world will crumble in its own perversions Raging fire is
    louder than their screams Only matter of time before everything’s gone Gone Gone Burn! If you
    thought your rejections would make me cry Sorry to say that you’ll never break me You were never
    able to make up your mind It’s pretty sad watching someone about to die I got t....
  30. Need Help With My Python Programs
    just extremely basic stuff (11)
    ok, i am learning python, and i realy dont know much. my guide im using said to make a program
    where it asks your name, and if the name is yours your make it so there is a compliment, if it is
    another name you make it that its an insult, and anything else makes it say Nice name. here is what
    i wrote name = raw_input("What is your name?") if name == John: print "Your name is freaking
    sweet, you must be a god or something." elif name == Bob: print "You have a freakin' weird
    name, dude." else: print "Nice name,",name i donot understand what i am doing w....

    1. Looking for password, genorator, made, python

Searching Video's for password, genorator, made, python
Similar
I Think I
Need A Cpan
Password
Reset
Internet
Explorer -
The Worst
Standards
Compatible
Browser Ever
Made
Made These
Many Months
Ago
I Made It,
But I
Don't
Like It
How Do
Uninstall
Deep Freezer
If I Lost
Password?..
I Need Help
With Setting
Up My Site,
Made Using
Java - any
help would
be
appreciated
Invisionfree
Skin How-to
Put On Your
Forum - A
skin I
partially
made, I show
you how to
put on your
forum.
Python
Server
Recommended
List Of
Money Making
Sites - A
list of 10
sites from
which easy
money can be
made
Password
Reset
[resolved]
How Do I
Find My
Mysql
Password?
[resolved] -
Cannot
access my
MySQL
I Made
$25 In
15 Minutes
Python
Cant Login
To Cpanel On
A Just Made
Account O_o
My 2 Best
Sigs
I've
Ever Made
Python Forum
My Made Up
Poems.
Simple
Javascript
And Password
System - How
to protect
your pages
with
password
What If
Marijuana
Was Legal? -
What would
happen?
Should it be
made legal?
What Made
You Switch
To Linux?
Change Your
Computer
Password -
Change Your
Computer
Password
How Many
Rodent Kills
Have We Made
So Far This
Year? - Not
all rodents
are bad,
consider the
hare, but
some...
Computer
Admin Login
With Lost
Password? -
Hack my own
comp.
Windows
Admin
Password
Hack
Forgot
Password To
Trend Micro
Internet
Security -
Is there a
way to
remove it?
What Is
Mysql's
Default Root
Password? -
Just
installed in
on my Linux
box
Changing A
Gmail
Password -
how do u do
it?
Making
Winrar
Archives -
and adding
password to
winrar
archives
Setting
Aflame A
Sinner's
Hope - A
song i made
for my band
Lord of the
Sabbath
Need Help
With My
Python
Programs -
just
extremely
basic stuff
advertisement



Password Generator - Made in Python



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE