Thanks for the inspiration Cats, after the better part of an afternoon I came up with:
http://code.suck-o.com/42377" onclick="window.open(this.href);return false;
I'm sure it's nowhere near as fast as C, and I'm sure the code is a bit over engineered, but it works and I'm happy with it. Also it has the distinction of being the first program I've completed... and that's good after all.
[Python] Dictionary Generator
[Python] Dictionary Generator
knuffeltjes voor mijn knuffel
[img]http://i911.photobucket.com/albums/ac320/stuphsack/Sig.jpg[/img]
[img]http://i911.photobucket.com/albums/ac320/stuphsack/Sig.jpg[/img]
Re: [Python] Dictionary Generator
Congratulations lilrofl! Job well done *cheers
Re: [Python] Dictionary Generator
Nice!
Lovely that people are joining in on the coding
We should do more stuff like this, and release different versions for people to learn from in different languages ^^
Lovely that people are joining in on the coding
We should do more stuff like this, and release different versions for people to learn from in different languages ^^
"The best place to hide a tree, is in a forest"
Re: [Python] Dictionary Generator
That's a good idea, I've never coded anything to completion really, but I had a good time doing this. After I got it working adding a completed dictionary size estimation and number of entries required that I learn new functions and new math, when it worked it was a good feeling. (although the size estimate would be a bit more accurate if I had used float instead of int )
meh, glad you guys like it
meh, glad you guys like it
knuffeltjes voor mijn knuffel
[img]http://i911.photobucket.com/albums/ac320/stuphsack/Sig.jpg[/img]
[img]http://i911.photobucket.com/albums/ac320/stuphsack/Sig.jpg[/img]
- computathug
- Administrator
- Posts: 2693
- Joined: 29 Mar 2007, 16:00
- 17
- Location: UK
- Contact:
Re: [Python] Dictionary Generator
Great job lilrofl
This is what life is about, sharing ideas and solutions
This is what life is about, sharing ideas and solutions
The devil can cite Scripture for his purpose.
-- William Shakespeare, "The Merchant of Venice"
https://tshirt-memes.com
-- William Shakespeare, "The Merchant of Venice"
https://tshirt-memes.com
-
- Newbie
- Posts: 1
- Joined: 02 Aug 2011, 13:19
- 12
Re: [Python] Dictionary Generator
This is really nice. Have you considered adding a GUI?
Re: [Python] Dictionary Generator
Thanks.
I worked this up over an afternoon as a thought experiment in a Linux terminal, so I never really considered adding a GUI... it's such a single purpose script that I could work one up if there's an interest.
I worked this up over an afternoon as a thought experiment in a Linux terminal, so I never really considered adding a GUI... it's such a single purpose script that I could work one up if there's an interest.
knuffeltjes voor mijn knuffel
[img]http://i911.photobucket.com/albums/ac320/stuphsack/Sig.jpg[/img]
[img]http://i911.photobucket.com/albums/ac320/stuphsack/Sig.jpg[/img]