- Strength to Increase Rep
- +4
- Strength to Decrease Rep
- -1
- Upvotes Received
- 22
- Posts with Upvotes
- 16
- Upvoting Members
- 20
- Downvotes Received
- 10
- Posts with Downvotes
- 9
- Downvoting Members
- 4
121 Posted Topics
Hello everyone, I am writing a program that has a part where the user can type in notes, and I would like the program to insert the date and time into the beginning of the note. I have the time and date part figured out: [CODE] import datetime now = … | |
Re: I agree with the above posts. My spin on the code would be: [CODE] def askUser(): username = raw_input("Enter your username: ") password = raw_input("Enter your password: ") checkPass(username, password) def checkPass(use, pwd): if use == "username" and pwd == "password": login(use) else: print "Your username and/or password was incorrect" … | |
Hello DaniWeb members, I know I'm not the only one who has tried to talk with non-hackers and used the term 'Crackers', to their total confusion. The problem is that the media has always refered to the Black Hat Hackers as just 'hackers', and that has given the **REAL** (White … | |
Re: Hmm, 13. I was pretty sure I would score higher than that.... I guess I'm more quirky than Psychopathy. People say my behavior is like Jack Sparrow or Tony Stark. Haha, yeah, I'm fun! :) - [B][I]WolfShield[/I][/B] | |
I'm wanting to make a voice controlled program, But when I type: 'import javax.speech' into NetBeans it says that 'javax.speech' doesn't exist. I then downloaded Free TTS, copied the speech.properties like I was supposed to. It still is showing the error. I did some more research and found a place … | |
Re: Granted. But without hands you cannot fend off the Killer Whale Assassin and you are eaten. I wish I had no bugs in my code when I programmed. - [B][I]WolfShield[/I][/B] | |
Re: There are some good answers here already, but if I could say some more on the subject, here goes. To answer your question, if you want to learn web design HTML and CSS are the first things you need to learn. Then you should learn JavaScript (ECMAScript) as it is … | |
Re: Hello Jake 1, While I don't have much game programming experience I can tell you about PyGame. It has a lot of components for GUI games, but I'm sure you can make text-based games with it as well. At a very minimum it will give you a more game-based place … | |
Re: Ah pets! We have tried several dogs in the past, but they were too much for us to house train. We currently have a cat, yes ONE cat, and we love it! I agree with a previous post: cats do have a lot of similarities with hackers; and without any … | |
Re: Aethir, the only advice I would have to give on the subject is that you seem to put a lot of print statements in all of your functions, where I on the other hand would use functions to process some information and return an answer, and use a main function … | |
Re: Oh boy, This may be a long winded post. First off, I would love to know a little more about you personally. Such as: how long have you been programming; how long in python; is this program for school, personal, or other; what are your goals for this program? Of … | |
Re: Hmhm, My fiance knows just enough about technology to "know" that she is right, but not enough to...**be** right. :D It can be annoying when I am trying to help her and she is convinced she's right and I end up having to deal with a bigger problem *and* a … | |
Re: > Is there any syntax error at line 11 ? print item ? No, there isn't. I just ran all the code in python IDLE and got no errors. I agree with HiHe, the code seems to be a bunch of non-sense. It apears to just be coming up with … | |
Re: Hello robinlrandall, Here is a simple notepad program I wrote a while back in wxPython. If you have any questions on it I would be happy to answer them. - WolfShield import wx class Notepad(wx.Frame): def __init__(self, *args, **kwargs): super(Notepad, self).__init__(*args, **kwargs) self.InitUI() def InitUI(self): menubar = wx.MenuBar() fileMenu = … | |
Re: Cleopatra was the [B]Queen[/B] of the Nile. [B]Threat[/B] | |
Re: ...I can't tell you that... What happened: "Once apon a time..."? | |
So, While I was working on a project I accidentally closed down my Form1.cs[Designer] window and I haven't been able to find how to open it again. I am using Microsoft Visual C# Express Edition. I have looked around in the program and haven't been able to find a way … | |
Re: I agree with several points mentioned above. If you like music write some form of a music editor/player. Video, same thing. Whatever it is, write something that you are interested in. As Apple says: make something you would want to use. It's great practice, gives you something to show and … | |
Hello DaniWebies! It seems like everytime I read a story or see something in a movie that involves a programmer and/or hacker/cracker they smoke at some point (usually at the computer). I'm curious: why is this? Is it just the fact that a lot of people smoke and so many … | |
Re: While I myself have done very little game development, I have a close friend who only programs games. He (read: we) has tried a number of different game engines (2D and 3D) and for the last 1.5 years has decided and loved Unity 3D. I have used Unity myself and … | |
Re: Hey guys, I am considering switching to Linux from Windows(7). I am thinking Ubuntu as a starter though I have heard that Gentoo is programmer friendly. What I am considering is dual-booting my Windows computer with it. Any advice? Thanks, ***WolfShield*** | |
Re: Netbeans and Eclipse are the most popular IDEs for Java. I do appologize that I can't give any reasons as why you should choose either, as I don't like IDEs. I have to agree with NormR1. Just get the Java Compiler (javac) and use a program like Notepad++ (Windows), or … | |
Re: Since I don't know if you are new to programming in general or not, I'll try to cover some basics (just in case). For development you will either need an IDE (Integrated Development Environment) which includes a compiler, or just download the compiler. Personally I find IDEs to cause more … | |
Hello everyone, I am working my way through the Forger's Win32 tutorial and am on the "Creating a Simple Application" part currently. I am using C++ (instead of C in the tutorial) and the WinGW compiler. When I compile the below code I get this error: main.cpp: In function 'LRESULT … | |
Re: ABBA - Dancing Queen; Great song! AC/DC - Back in Black Seether - Sympathetic Tom Petty - Free Fallin' Heart - Every song under the sun You've got to love Pandora!!! - [B][I]WolfShield[/I][/B] | |
Okay, So I noticed that the joke threads are pretty old ones, and if you're like me then you like to laugh. Well, let's start a new one! (Come on, you know you want to!) ;) So, let's hear some (programming) jokes! -WolfShield | |
Re: Awesome, Congrats Tony! I have found your posts to be most helpful and I am pleased that you have acheived this honor! I am also quite happy about the change to Markdown language, I think it's much for efficient. All the best, ***- WolfShield*** | |
Hello everyone, I am working on a software project that when completed I will need a website to put it on. However, I suck at web design. So I am looking for a free web design program where I can just drag and drop to create my website. What are … | |
Re: Well, I guess it's my turn! :) I started programming about 5 years ago, at 12 years old. I'm home schooled and didn't like the kids in town (they were all jerks and did a lot of stupid things), so I spent a lot of time at home on the … | |
Re: Defining a function is easy. [CODE] def sayHello(): print "Hello World!" [/CODE] That's quite simple. Next you need to send it a parameter: [CODE] def sayHi(name): print "Hello " + name [/CODE] The previous function could be call as: [CODE] sayHi("Michael Jordan Jones") [/CODE] And it would return "Hello Michael … | |
Re: At some point you need to decide if you want to be true to one job place, or true to yourself. - [B][I]WolfShield[/I][/B] | |
Re: So your question is, since you can't add a text field strait into a JFrame, how do you add a JPanel into the JFrame so that you can display the JTextField in it? If this is what you mean, then here is the solution. You need three things: 1) the … | |
Re: The one thing I dislike about Java: repeating yourself. - [B][I]WolfShield[/I][/B] | |
Re: OS: Win7 Editor( I like them more than IDEs ): Sublime Text 2 ( Like Notepad++, only better! :p ) I also use VSC++ Express currently. I don't do a lot of C++ at the moment, so it's easier to use an IDE than to set up my computer for … | |
Re: This sounds like school help. :( Show us what you have so far. Help will come to those who work for it. - [B][I]WolfShield[/I][/B] | |
Hey everyone, I was wondering what some reasons would be to use an XRC file in a program? Does it make it easier to read? Does it help with organization? Are there times where that format is needed/beneficial? Just looking to know, - [B][I]WolfShield[/I][/B] | |
Re: In my opinion there are two main area to work at: learning programming and learning a language. While these two are similar and in the same category, they are different subjects. First: learn programming. If your son is wanting to do some projects, this is key ( obviously )! To … | |
Okay, I have been thinking about writing a GUI toolkit recently, and after doing some searching on the web, I haven't found much on it it's self. But I believe I have the basic idea down, and I was wondering if you guys who maybe know about this could let … | |
Re: I'd have to agree with the others here. There is no language that will do it all, and there is a major benefit to learning multiple languages. I have a VERY hard time deciding on a language to use for projects, I just need to use whichever is best for … | |
What I want is a pic to show on full background. But the image is not displaying. The code I have ( the relevant parts ): [CODE] <div id="bg"><img src="welcome.psd" width="100%" height="100%" alt="" /></div> [/CODE] And the CSS: [CODE] #bg { position:fixed; top:0; left:0; width:100%; height:100%; } [/CODE] I have … | |
Re: Windows Jokes Windows means "Work is never done on Windows systems" Computers are like air conditioners, they stop working properly if you open Windows. Never trust an operating system you don't have the source of. "Windows For Dummies", another term of "this sentence no verb" My SPARCstation has air conditioning. … | |
So today I made a realization in my programming hobby, I LOVE making the User Interfaces of programs. The core stuff I usually lose interest in, but I could program GUIs all day long and not get tired of it. This made me quite happy to finally realize. So, my … | |
Hey guys, I actually have two questions here. I've made a splitter window with two panels and set the min size to '200'. But how do I make one panel not be allowed to re-size to larger than '200'? And the second question is: if I wanted to put a … | |
Python was my first programming language and I have been programming for about 5 years now. I LOVE Python, but there is one thing I haven't got myself to believe yet. In the Zen of Python one of the entries is: "There should be one, and preferably only one, obvious … | |
Re: A simple [URL="http://www.google.com/search?rlz=1C1ASUT_enUS459US459&gcx=c&sourceid=chrome&ie=UTF-8&q=C%2B%2B+call+functions#sclient=psy-ab&hl=en&rlz=1C1ASUT_enUS459US459&source=hp&q=C%2B%2B+tutorial+functions&pbx=1&oq=C%2B%2B+tutorial+functions&aq=f&aqi=&aql=&gs_sm=e&gs_upl=6555l8782l2l9014l6l6l0l0l0l0l0l0ll0l0&bav=on.2,or.r_gc.r_pw.,cf.osb&fp=e6b70618073fa68e&biw=1366&bih=667"]Google search[/URL] will answer that question. ( try this: [URL="http://www.cplusplus.com/doc/tutorial/functions/"]C++ Functions[/URL] ). - [B][I]WolfShield[/I][/B] | |
Re: I agree with Gribouillis. If you have items that are similar it is much nicer to have them in a list or array. Easier to read and just as easy to access. - [B][I]WolfShield[/I][/B] | |
Re: If I understand your problem correctly, t is only printing one (1) number when it should be printing the number inputted ( in this case: 6). What I see is that your last line is not in the for loop. So you are only asking it to print ONCE. Try … |
The End.