851 Posted Topics
Re: When it comes to women, American man put such a premium on looks that the girls adjust to it starting at a young age. My love in life was, well still is, an older woman (already 15) with freckles, dark curly hair, blue eyes and very smart. | |
Re: [QUOTE=debangan.b;545246]Thanx[:)]...Can u pIz provide the metiriaI 4m wheer I can Iearn python within 7 days..bbye[/QUOTE]I think Google will be your friend. They use a lot of Python themselves. That's where I would look first. By the way, what kind of language are you speaking, I know it's not English. | |
Re: This is a way to do it without slicing: [code=python]# separate words with alternating 2 and 3 spaces # simply alternate between odd and even count s = 'one two three four five' space = " " new = "" count = 1 for c in s: # count & … | |
Re: You got to use code tags around your code! [url]http://www.daniweb.com/forums/announcement114-3.html[/url] | |
Re: Looks like an older version or wrapper of Tkinter with little documentation: [url]http://tkinter.unpythonic.net/wiki/BWidgets[/url] | |
Re: Maddie, our cook, told me that she has a salmon fillet on a spinach bed in the oven. She will serve that with skinny mashers and a babeurre caper sauce. Yumm! | |
Re: [QUOTE=sneekula;547986]I am working on an expert system to replace our lying and cheating political leadership with a lying and cheating computer system. :)[/QUOTE]That might just be an impossible project! Working on Perpetual Motion surely would give you better results. | |
Re: If earth bumps into another planet, does that mean all debt is forgiven? Note: I am just a very young person who is concerned about the mounting federal debt, and who will have too pay for it down the road. | |
Re: My nick is really french "La RDmeister" which is means a female person that makes the trilithium crystals that power Star Trek's spaceships, using only a shovel and her fiberglass bathtub. | |
![]() | Re: No way, I won't trust my eyes to some quack with a laser beam. |
Re: If smokers only kill themselves with their stinky habit that would be great, but they also kill the people around them getting it second hand. For smoker that have a child nearby, I read that for every four cigarettes they smoke the child gets the equivalent of one. | |
Re: This is something similar to what you coded. I didn't use the 'clear the screen' thingy because that would make it OS specific, and our instructor says that it is better to leave a record on the screen anyway. [code=python]#! /usr/bin/python def check_range(n, low, high): return (low <= n <= … | |
Re: [QUOTE=joeprogrammer;528027]User titles are overrated.[/QUOTE]Yeah, look at Joe's title! Looks like they go up to a point and then go down again. | |
I am using one of the screensavers that comes with Vista (basic home edition, up to date with upgrades), but there are many times when it simply does not kick in. Is that one of the features of Vista? | |
Yet another curious poll that will challenge your intelligence. What do you think is the average age of DaniWeb posters? | |
Re: I am "meistering" (master) my lard, which means I keep my weight down. The most important thing to do after New year. | |
Re: Swiss banks are notorious for laundrying dirty criminal money. I wish more of their employees would come foreward and spill the beans. | |
Re: [QUOTE=Aia;519422]It is that kind of mentality what makes us "sheep" ready for the butchery. I do have things to hide. That's why I wear clothing. What if I want to hide pictures of my family? Bank statements? An important project that I want to patent? My score of minesweeper?. Yeah, … | |
Re: Any good medical expert can tell you exactly where the injuries came from. Looks like the obese cop will get three months off with full pay. | |
Re: Hockey is a real sport. I like the New York Rangers too! | |
Re: Great find Dude! Meat from over 1000 cows, that is a giant size hamburger! | |
Re: [QUOTE=jwenting;536291]yes, it's fair. They put in more hours than most if not all of their people, they run the greater risk (financial and legal both) in case things go wrong, and their job is extremely stressful. And as Narue said already: life ain't fair. If your boss makes more than … | |
Re: There are a lot of dictionary files around. They are simply text files with one word per line. Usually around 600k to 800k in size. I saw one attached to a post in the "Starting Python" thread: [url]http://www.daniweb.com/forums/thread20774.html[/url] | |
Who in your opinion and/or experience are the least honest group of people? | |
Re: Excellent thread!!!! Just found it and loved it, yes, even kids can love this. Thanks! | |
![]() | Re: [QUOTE=jbennet;525030]w00t my 18th birthday is the day after valentines day i got no girl :( (not through lack of trying though....)[/QUOTE]Pick one you sort of like and send her a valentine gift or card. Then lean back and see what happens. It's worth the thought. |
Re: [QUOTE=joshSCH;534497]The media needs to get the hell out of there so our military can just start killing anyone they want without fear of bad press. This is war, get the hell out.[/QUOTE]Which war are you talking about sweety? Wars are not won by killing everybody! | |
Re: I tried to talk my mom to drive me to the mall, but she insisted that this was just junk food, darn! | |
Re: I am just a few years past KIndergarten, and I still like the game! | |
Re: I let my mom do it, she is very picky about those things. Last time I checked 'twas handles up. | |
In a rare moment of openness Jbennet posted this: [QUOTE]i got no girl (not through lack of trying though....) [/QUOTE]I thought it would be nice to give JB some expert recommendations. | |
Re: Here is a simple general way to write to a text file: [code]// FileWrite - write input from the Console into a text file using System; using System.IO; namespace FileWrite { public class Class1 { public static void Main(string[] args) { // create the filename object - the while loop … | |
Re: Even if you iterate over the lines of a file (strange use of sys.stdin), your code does not make much sense. It might give you the number of lines, but surely not the number of words or characters this way. | |
Re: Neapolitan is for folks who can't make up their mind! I love it! I love eggnog icecream over the holidays. | |
Re: If Bill Gates would have gone for perfection, Microsoft would never have sold one piece of software. | |
Re: Firstly, it is 'UPS' and not 'USP' Secondly, wouldn't this be simpler if 'UPS2008' is a rather unique string: [code=python]xml = """<Symbols> <Item> <Symbol>UPS2008</Symbol> <Order>usg_05Y</Order> </Item> </Symbols>""" new_xml = xml.replace('UPS2008', 'UPS2009') print new_xml """ my output: <Symbols> <Item> <Symbol>UPS2009</Symbol> <Order>usg_05Y</Order> </Item> """ [/code] | |
Re: Just my youthful/childish opinion: "The greatest thread to world peace is the rapid destruction of the middle class!" | |
[URL]http://www.metacafe.com/watch/765251/fire_fart_funny/[/URL] Did you know that the average cow gives off 100 gallons of methane gas a day? | |
Re: I like to visit Brazil, where the girls don't just look hot, they are hot! | |
Re: I heard/read that red and white wine is made from the same grape. The initial light squeeze makes white wine, harder squeeze gives blush, and the real hard squeeze breaks the skin cells and pits of the grapes and gives red wine after fermentation. Breaking the skin cells adds color … | |
Re: As a matter of pride, no way! I would just cheat myself then. | |
Re: Does your screen need cleaning?? Not any longer, I cleaned my glasses instead!!!! | |
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 of blind people, that their constituents have a hard time hearing those Hybrid Cars … | |
Memory is getting smaller all the time, 64 gigabytes is about a square inch of silicon now! Is it also getting shorter? Are hard-drives doomed? | |
Re: The USA shouldn't feel too bad. There are lots of countries that don't have a cricket team. Let's say Norway, Sweden, Switzerland, Upper Volta, Lichtenstein, Albania, Syria, Panama etc. | |
Re: Evian is clear spring water from the French alps, We always have a case of it in the house. |
The End.