1,175 Posted Topics
Re: [QUOTE=jbennet;506092]lol i was born in 1990, werent even concieved then[/QUOTE]Whatever you did in 1982, you would have to make sure it wouldn't somehow influence your parents not to have children. I would create an easy to read syntax programming language and make tens of Dollars. | |
Re: I know that Python can access a DLL written in C or C++ using Windows, but I don't know much about Linux. | |
Re: If you beg real hard, you might get Queen Dani to remove that from the otherwise very good poll. Also, in the title is the "you you" supposed to be a w? | |
Re: Exerps from Harry Potter (book/movie): Now that Harry's done me, it's time for me to do you. I've got an unbeatable wand, come and have a go if you think you're hard enough. Wands are only as powerful as the wizards who use them. Some wizards just like to boast … | |
Re: INSERT takes care of that, for example: [code=python]import Tkinter as tk root = tk.Tk(className = " Text") # text entry field, width=width chars, height=lines text text1 = tk.Text(root, width=70, height=20) text1.pack() str1 = "First string" str2 = "Second string" text1.insert(tk.INSERT, str1) text1.insert(tk.INSERT, str2) root.mainloop() [/code]To get the whole content of … | |
I have a dictionary of chemical symbols and names, to look up the symbol and get the name is easy, but to find the symbol of a given chemical name seems to be more akward. Am I missing something here? [code=python]# small dictionary of chemical symbols symbol_dic = { 'C': … | |
Re: Babies come from an egg in mommy's belly. I stopped eating eggs right then and there. | |
Re: There are still many parents that punish their children for being left handed. They think that the devil is left handed. | |
Re: The USA is a very large country and home prices are regional. Right now you can get a three bedroom home in Detroit (depressed Michigan) for $50,000 and in San Diego (sunny California) a similar home will cost you $500,000. | |
| |
Re: Things get hot in Pakistan, the islamists take over. The US is panic-stricken and attacks to neutralize the nuclear weapons. The islamists within the Pakistan army manage to get off a few nukes into India in desparation. India retaliates with nukes, accidentally killing a score of US soldiers fighting there. … | |
A bromide is a platitude that is especially banal, something like: Let's leave no stone unturned. Be as busy as a bee! This is the only candidate that represents Family Values. I am sure you'll give 110% in your effort! We need to think outside the box. (from post that … | |
Re: graphics.py is a simple wrapper for Tkinter written by the author of a Python book. It mostly contains renamed canvas routines. I would stick with Tkinter itself. You get more help this way since only a few folks know about this Zelle wrapper. | |
Re: Somebody had a copy of "The Age of Empires II" in the dorm last semester. I liked the graphics pretty well. The sound is okay too, if you connect a boom box. Nice way to kill time. | |
Re: Take a look at this thread and then do your own thinking: [url]http://www.daniweb.com/forums/thread94059.html&highlight=five+click+house[/url] I entered 'five click house' into the search option for this Python forum. | |
Re: Build a utopian society where every citizen is properly informed, educated, motivated and a thing of beauty and logic. | |
Re: [QUOTE]About 120 countries are developing ways to use the Internet as a weapon to target financial markets, government computer systems and utilities, Internet security company McAfee said in an annual report. ~~~ The report said China is at the forefront of the cyber war. It said China has been blamed … | |
Re: Two in the row, only my ex-roommate could do that. I heard of wind energy, but this is a little different. | |
Re: Violence committed in the name of a religion. I have pretty well had it with this islamic crap. | |
Re: Why not use code tags so the indentations are preserved in your Python code? This should work: [code=python]def delete(self): fname = raw_input("First Name:> ") for ix, item in enumerate(self.list): if (item.name == fname): del self.list[ix] [/code] | |
Re: I am reading "Learning Python" by Mark Lutz and David Ascher, published by O'Reilly Books. I like it. | |
Re: Try this ... [code=python] # run an external program and get its output: import os prog = "bldroott.bat" fin, fout = os.popen4(prog) result = fout.read() print result [/code] | |
Re: I have been to Zermatt in Switzerland. You get there be a gear train and they only allow electric cars in town. Climbed at least to the base of the Matterhorn. | |
| |
Re: [QUOTE=~s.o.s~;385477]> Yes, Praise God. That's incredible. Yes, praise the wheelchair.[/QUOTE]Praise the workers that made this quality product. | |
Re: Red wine from Spain or California goes well with a steak dinner. | |
Re: Python has a csv module, but why has this thread been bumped into the Python forum? | |
Re: Why would you wash your mouth with soap? With all those chemicals in there that could be dangerous. My mother used to wash my hands with soap, I think that was much smarter. | |
In the US most TV programs are supported by advertisements commonly called ads. If you don't want to fork over hard earned money for paid TV, you simply learn to live with those ads. At times they are better then the program anyway. Later in the Chistmas season, after most … | |
Re: [QUOTE=Jishnu;497799]CAN YOU READ THIS?? [B]fi yuo cna raed tihs, yuo hvae a sgtrane mnid too. Cna yuo raed tihs? i cdnuolt blveiee taht I cluod aulaclty uesdnatnrd waht I was rdanieg. The phaonmneal pweor of the hmuan mnid, aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno't mtaetr in waht … | |
Re: Good grief is the liquor store ever crowded this morning. Wonder if people need that stuff to celebrate or drown their sorrows? Happy unsober New Year! | |
Re: From Websters: [QUOTE]geek n. dial. geck, fool Du gek, madman, fool orig. echoic of unintelligible cries 1 a performer of grotesque or depraved acts in a carnival, etc., such as biting off the head of a live chicken 2 [Slang] any person considered to be different from others in a … | |
I want to make a small Molecular Weight calculator. If the user for instance enters the molecular formula for dichloro-benzoic acid as "C6H3Cl2COOH", I would like to split it into a list like ['C6', 'H3', 'Cl2', 'C', 'O', 'O', 'H'] so I can then combine all the carbons, chlorines, oxygens … | |
Re: It pays to be honest with yourself and not cheat. I used to help my teacher grade papers, some cheating was so obvious. | |
Re: It looks like fixed means that variable1 value has to come from dlist1 and is fixed to the Server and variable2 value comes from dlist2 and is fixed to the Client. At least that is the way I understand this. | |
Re: Try this small change: [code=python]import sys class Person: def __init__(self): self.list = [] def AddContact(self): fname = raw_input("First Name:> ") lname = raw_input("Last Name:> ") street = raw_input("Street:> ") self.list = [ fname, lname, street] def ListAll(self): print "" def DeleteContact(): print "" class NewPerson(): def __init__(self): self.v = Person() … | |
Re: [QUOTE=iluvfarrah;499490]No idiot you suck. you moron[/QUOTE]The forum rules tell you to keep things pleasant. Calling other posters names only exposes you as the one that watches too much TV. | |
Re: Thanks Dude! You can find some interesting stuff on shortwave. Sort of an ear on what's going on globally. | |
Do you consider yourself skinny, normal or fat? Let's be as honest as possible. | |
Re: Thanks Dude, this one is a good source of health info: [url]http://ehealthforum.com/health/health_forums.html[/url] | |
Re: Another computer! I have enough headaches with the one I have. Another GF! I have enough headaches with the one I have. | |
Re: One of our temps put white-out on the screen, any easy way to clean that? |
The End.