988 Posted Topics
Re: Great, let us know what you like. I still use DrPython for most of my Python programming, but also like PyScripter (gets better all the time, they are still updating). | |
Re: Depends on your disposition. If you are the classic ogre, by all means call it crap or worse. If you want to swing a little, not bad. | |
Re: Bottled water has no flavour and tastes like crapola!!! Tap water has lots of flavor, nice strong chlorine flavor. I like fresh rain water best. | |
Re: No Christmas dinner for me, I am jewish. I will have a good steak dinner instead. | |
Re: [QUOTE=Ancient Dragon;463513]Never smoked or smelled pot, so I have no idea what it smells like. But I do like the smell of a good old fashioned bond fire or a fireplace. Some flavors of pipe smoke are good too, but you have to be the smeller and not the smoker … | |
Re: Narue: an old woman waving a chainsaw, maybe is rather cold and wants to make firewood, or go to Texas to kill somebody. Lardmeister: don't use a duck, that's a pretty stupid bird, you are smarter than that, use something like goofy. GrimJack: looks a little like the hulk when … | |
Re: [QUOTE=jwenting;477256]I'm no idiot, the terminally PC people are... And yes, they've tried to ban black foodstuff. Only last year a kind of candy here that's basically whipped cream in a layer of black chocolate was heavily criticised. The stuff, called (rough translation) niggerkiss since its inception over a century ago … | |
Re: [QUOTE=christina>you;477474]I have some catching up to do. ;)[/QUOTE]Lol, just keep lolling. | |
Re: [QUOTE=jbennet;477492]yay im 2nd highest[/QUOTE]How did you find that out? | |
Re: Looks like Lardmeister is right, this guy has one hell of a sense of humor! | |
Re: make up your own questions instead of copying them from other websites, idiot. You violated a DaniWeb rule: Keep it pleasant! | |
Re: The experimental computer language 'Nemerle' ([url]http://nemerle.org/[/url]) allows you to mix object oriented and functional programming styles. It can use library code from .NET or Mono. The syntax looks a little bit like C#. OOP style: [code] class Hello { static Main () : void { System.Console.WriteLine ("Hello world! using Nemerle"); … | |
Re: In Scotland, if someone knocks on your door and requires the use of your toilet, you must let them enter. In Canada, having sexual relations with a porcupine is illegal. | |
Re: Actually, I love cool and rainy weather, reminds me of Ireland. Good time to go to the pub with friends! | |
Re: Bumsfeld, you need to start your own church first before you can sell tickets to cloud nine! | |
Re: What am I supposed to look at? | |
Re: I've been talking to Vicente Fox, the new president of Mexico... I know him... to have gas and oil sent to U.S.... so we'll not depend on foreign oil. | |
Re: Too much highly radioactive nuclear waste that will pollute this earth for thousands of years. There are nicer alternatives like wind, solar, and wave energy. | |
![]() | Re: [QUOTE=WaltP;437724]Real Programmers always confuse Christmas and Halloween because Oct31 == Dec25.[/QUOTE]By golly, I finally got it! Thanks WaltP! You are true genius! This is an actual alert to IBM field engineers that went out to all IBM branch offices. The person who wrote it was indeed serious. The rest of … |
Re: I am too paranoid to have one. I am afraid someone else would abuse it and I get the bill. | |
Re: I am with you Jeff, looks a lot like C. Who needs that old stuff? | |
Re: I think this: Balance = BegBal - MonthlyBalance should be this: Balance = Balance - MonthlyBalance | |
| |
Re: Strange looking Python code, everything is in comments? | |
Re: Actually our finite universe is as large as we can observe it. After that it makes no sense! | |
Re: [QUOTE=maddog39;448754][code] >>> from __future__ import braces File "<stdin>", line 1 SyntaxError: not a chance [/code] Haha! Favorite error ever! All versions of python have this "hidden feature." It's obviously making fun at C. : P[/QUOTE]A very funny discovery, thank you! | |
Re: If you have empty strings in the list you can change BearofNH's code simply: [code=python]mylist = ["CAnADA", "hELLO", "", "CAN"] # use list comprehension newlist = [ x[0]+x[1:].lower() for x in mylist if x ] print newlist """ my output --> ['Canada', 'hello', 'Can'] a list comprehension is a more … | |
Re: [QUOTE=jwenting;439076]photography, and occasionally I try my hand at making chainmail.[/QUOTE]Chainmail, is that the kinky stuff? I like ceramics and modeling. | |
Re: SOS is right! You can find peons in every field of endeavour. That goes from a farmer, teacher, soldier, priest, scientist all the way to a country's leader. | |
Re: Someone seems to give this out as a homework problem. Take a look at: [url]http://www.daniweb.com/forums/thread90145.html[/url] After the two starting values 0 and 1, each number is the sum of the two preceding numbers. This is such an easy problem, I suggest you really try to understand it! | |
Re: Cal Thomas is one of the many smug neocons in the US news media, that has beaten the drums to get us into invading Iraq. I am sure he never shed one tear or even felt sad for the many Muslims that got killed in this ill exercised adventure. His … | |
Re: Mister jwenting must be the Archy Bunker of the Lowlands. When the second amendment was written arms were knives, sabers, muskets that took ten minutes to load, and single shot pistols. That's what the right to bear arms was intented to cover. Now you talk about machine guns, automatic weapons, … | |
Re: Computers are getting harder to use and program? You obviously have not seen one of the early computers, where all the programmig was done with binary switches! | |
Re: [QUOTE=Ancient Dragon;249557]It wasn't a comment about linux in general, but about Ubuntu specifically. Any os that can beat world chess champion (human) is not all bad! :eek: I just don't enjoy spending hours doing something in a linux environment that takes me just minutes in MS-Windows. I have no idea … | |
Re: You need to use the wxPython GUI toolkit to do that: [code=python]# experiment with the wx.animate.GIFAnimationCtrl() widget # needs wxPython installed import wx import wx.animate class AnimatedGif(wx.Panel): """class to show an animated gif image on a panel""" def __init__(self, parent, id): wx.Panel.__init__(self, parent, id) #self.SetBackgroundColour("black") # pick an animated GIF … | |
Re: This will read one line at a time and you can process each line and put the result in a list or file: [code=python]fout = open("ProcFile2.txt", "a") for line in open("LogFile2.txt", "r"): # process each line (whatever you need) # for example ... process = line[:2] fout.write(process) fout.close() [/code] | |
Re: Looks a lot like the hex digest of NIST's secure hash algorithm, known as SHA-1. Might also be the competing MD5 algorithm. These things are used to send passwords on in e-mail and are tough to crack! | |
Re: [QUOTE=jrcagle;309161]... and old code will break frequently, since division will no longer yield integers. :eek: Jeff[/QUOTE] This is why it hasn't been implemented yet in a large number of other languages like C, C++ either. | |
![]() | Re: "Is Python any good?" I don't think this person really wants to know, so my question is: "Is iamthwee any good?" |
Re: This will show the even integers between 2 and limit, then it is up to you to show the product: [code=c]#include <stdio.h> int main() { int x; int limit = 30; for(x = 2; x <= limit; x=x+2) { printf("%d\n", x); } getchar(); // wait for enter return 0; } … | |
Re: Good grief Charlie Brown, where is the answer to EnderX in all this senseless squabble? | |
Re: Since PyDEv is a plugin for a Java monster like Eclipse, you can expect a few side effects. The whole thing was simple too huge for my taste. | |
Re: If you use wxPython for a GUI toolkit, you can get Boa Constructor. A Delphi like visual interface to do drag and drop frame building. Free downlod from: [url]http://sourceforge.net/project/showfiles.php?group_id=1909&release_id=150280[/url] The installer for Windows: [url]http://downloads.sourceforge.net/boa-constructor/boa-constructor-0.4.4.win32.exe[/url] There is also a forum: [url]http://sourceforge.net/forum/forum.php?thread_id=1617033&forum_id=5483[/url] Boa Constructor needs wxPython. It actually makes a great general … |
The End.