Forum: Python 10 Days Ago |
| Replies: 3 Views: 317 Here is another example of formatting a string with %s and %d placeholders. The syntax pretty much follows the C printf() function formatting.
def visits(name, n):
""" adds an s to 'time' if n... |
Forum: Geeks' Lounge 16 Days Ago |
| Replies: 7 Views: 640 Translation:
I am a frigging sig spammer! Look at my signature! |
Forum: Geeks' Lounge 16 Days Ago |
| Replies: 421 Views: 46,154 Our cat had mittens after she swallowed a ball of yarn. |
Forum: Geeks' Lounge 17 Days Ago |
| Replies: 421 Views: 46,154 A Jewish mother would never say this:
"Be good and for your birthday I'll buy you a motorcycle!"
"I think a cluttered bedroom is a sign of creativity."
"Just leave all the lights on...it... |
Forum: Geeks' Lounge 17 Days Ago |
| Replies: 421 Views: 46,154 Q: "Did you hear about the JAP who had plastic surgery?"
A: "Her husband cut up her credit cards."
For the few who don't know, a JAP is a Jewish American Princess. |
Forum: Python 17 Days Ago |
| Replies: 3 Views: 476 If you have Python3 you can take a look at cturtle.py and see what this person did to customize the standard turtle.py
Free download from:... |
Forum: Geeks' Lounge Oct 3rd, 2009 |
| Replies: 6 Views: 556 Looks like one of those women on Fox News. |
Forum: Geeks' Lounge Sep 27th, 2008 |
| Replies: 421 Views: 46,154 Two men are approaching each other on a sidewalk. Both are dragging their right foot as they walk.
As they meet, one man looks at the other knowingly, points to his foot and says, "Vietnam,... |
Forum: Geeks' Lounge Sep 17th, 2008 |
| Replies: 1,560 Views: 209,567 "Love flies, runs, and rejoices; it is free and nothing can hold it back." |
Forum: Geeks' Lounge Sep 17th, 2008 |
| Replies: 6 Views: 535 Funeral Home:
"Drive carefully, we will wait."
Pastry Shoppe:
"Get your buns in here." |
Forum: Geeks' Lounge Sep 16th, 2008 |
| Replies: 5 Views: 551 If you know of a good headline, post it here.
Safety Experts Say School Bus Passengers Should Be Belted |
Forum: Geeks' Lounge Sep 8th, 2008 |
| Replies: 21 Views: 1,988 Some folks think wining is relaxing. |
Forum: Geeks' Lounge Aug 12th, 2008 |
| Replies: 4 Views: 529 Very easy, if you have never been in jail, have an IQ of over 140, successfully helped as many folks as possible, accumulated lots of positive feedback and are a registered voter you too could become... |
Forum: Geeks' Lounge Aug 2nd, 2008 |
| Replies: 1,560 Views: 209,567 By learning you will understand opportunities.
By teaching you will be learning never to complain. |
Forum: Geeks' Lounge Jun 18th, 2008 |
| Replies: 148 Views: 14,067 I like to see this one ----> |
Forum: Python Jun 12th, 2008 |
| Replies: 130 Views: 50,656 To get used to wxPython, I took vegaseat's mortgage calculator snippet written in Csharp and converted it to Python. I was surprised how easy it was:
# a simple mortgage calulator using wxPython
#... |
Forum: Geeks' Lounge Jun 5th, 2008 |
| Replies: 5 Views: 633 I have talked to a number of people who think that their 'democratic' country is really ruled by a secret group of influential folks who pull all the strings, and it wouldn't really matter what the... |
Forum: Geeks' Lounge Apr 29th, 2008 |
| Replies: 21 Views: 2,101 Smart answer there moderator jbennet, but I am sure it's already been trademarked by Apple.. |
Forum: Geeks' Lounge Apr 3rd, 2008 |
| Replies: 716 Views: 77,744 In a nut shell, an interestng character:
Ron Paul started his carreer as a U.S. Air Force flight surgeon.
He represented Texas in the U.S. House of Representatives for many years.
He is a... |
Forum: Geeks' Lounge Mar 1st, 2008 |
| Replies: 52 Views: 4,488 The upcoming military budget for the US is $700,000,000,000. Many of the weapons we are buying don't have an enemy yet. IMHO, we could just throw a lot of that money out of a plane over a battle... |
Forum: Python Feb 28th, 2008 |
| Replies: 2 Views: 428 This is a way to do it without slicing:
# separate words with alternating 2 and 3 spaces
# simply alternate between odd and even count
s = 'one two three four five'
space = " "
new = ""... |
Forum: Geeks' Lounge Feb 24th, 2008 |
| Replies: 117 Views: 12,016 Not all Americans screw things up. It's only the 20% hardcore supporters of the present administration. These are the people that are in charge right now! The GIs in the field are trained to only... |
Forum: Geeks' Lounge Feb 6th, 2008 |
| Replies: 50 Views: 3,912 In a rare moment of openness Jbennet posted this:
I thought it would be nice to give JB some expert recommendations. |
Forum: Geeks' Lounge Feb 6th, 2008 |
| Replies: 247 Views: 23,054 Remember to hold hands and cherish the moment, for someday that person will not be there again. |
Forum: Geeks' Lounge Nov 23rd, 2007 |
| Replies: 58 Views: 3,881 Oh thanks, I was just thinking about turning the face red, maybe I better leave it that way.
The crowds, euphemisticly called "Bargain Hunters", are actually worse than the iPhone crowd, since... |
Forum: Geeks' Lounge Nov 21st, 2007 |
| Replies: 5 Views: 610 Just a little dichotomy there, you call yourself "outdatedtech" and your title is "I'm new". Nice to see a new face! Lets hope you have a brain that is not as outdated as some of our more... |
Forum: Geeks' Lounge Nov 16th, 2007 |
| Replies: 23 Views: 1,910 Just another one of those silly polls. This one asks you to list the country that most associates with the type of food (or drink) you like. |
Forum: Geeks' Lounge Nov 7th, 2007 |
| Replies: 1,560 Views: 209,567 You might be able to hear, but can you listen? |
Forum: Geeks' Lounge Nov 7th, 2007 |
| Replies: 35 Views: 3,740 You might be able to hear, but can you listen?
They say that married men lose the ability to hear the higher frequencies of the female voice. Apparently a survival mechanism. |
Forum: Geeks' Lounge Nov 4th, 2007 |
| Replies: 214 Views: 21,124 Well, the world has gained another dictator! Actually, I think that General Musharraf isn't that bad of a leader. Pakistan might be just a country unfit for democracy.
What will prevent generals... |
Forum: Geeks' Lounge Nov 4th, 2007 |
| Replies: 298 Views: 27,633 Good grief lasher511, I like your posts a lot better than the predictable poppycock posted by joshSCH. He seems to intimidate a lot of posters with his "terrible English" jerk stuff. |
Forum: Geeks' Lounge Nov 3rd, 2007 |
| Replies: 1,560 Views: 209,567 Those people who think they know everything are a great annoyance to those of us who do.
-- Isaac Asimov |
Forum: Geeks' Lounge Oct 26th, 2007 |
| Replies: 7 Views: 760 So he listed "spots T-shirt"? I don't get it! |
Forum: Geeks' Lounge Oct 13th, 2007 |
| Replies: 298 Views: 27,633 The other evening I was visiting my great grandpapa in the old folks home. The TV was running, and we both got captivated by a program on the History channel. It talked about the Mayan calendar and... |
Forum: Geeks' Lounge Oct 13th, 2007 |
| Replies: 21 Views: 2,175 iamthwee, your legs must be four inches long. What an affliction! I feel sorry for you! |
Forum: Geeks' Lounge Oct 7th, 2007 |
| Replies: 62 Views: 5,732 You know that our government's answer to any problem is to attach a label. Just look at your next bottle of beer, wine or stuffed pillow.
The latest news item is a complaint by the association... |
Forum: Geeks' Lounge Oct 6th, 2007 |
| Replies: 32 Views: 3,625 You are waisting your time arguing against trailer-court conservatism. Looks like Mister Sinkular suffers from the incurable Limbaugh Rush disease!
I frankly don't know what that kind of low... |
Forum: Geeks' Lounge Sep 6th, 2007 |
| Replies: 89 Views: 10,059 It takes many nails to make a crib, but just one screw to fill it! |
Forum: Python Apr 17th, 2007 |
| Replies: 5 Views: 1,053 To save and load a whole object like a list, you have to use the module pickle:
import pickle
myList = [1,2,3,4]
# save/dump the list as an object
file = open("myList.dat", "w")... |