Search Results

Showing results 1 to 16 of 16
Search took 0.01 seconds.
Search: Posts Made By: Zonr_0
Forum: Java Oct 26th, 2007
Replies: 4
Views: 1,494
Posted By Zonr_0
Thank you very much, I was hoping there was something the API I was missing! :)
Forum: Java Oct 24th, 2007
Replies: 4
Views: 1,494
Posted By Zonr_0
Hi! Haven't posted on danniweb for awhile, but I'm hoping I can get some help. I am in the middle of learning Java, which will be my second language after python, and I have come across a problem,...
Forum: Python Nov 4th, 2006
Replies: 14
Solved: Guess a word
Views: 3,768
Posted By Zonr_0
Another possible challenge, have it able to access a text file from the computer containing a bunch of possible words, so the user can add their own if they wish.
Forum: Python Nov 3rd, 2006
Replies: 6
Views: 1,558
Posted By Zonr_0
I don't have much time, so I can only really post this much. Take a look at Mouche's scheduling program:

def add_address(self):
try:
self.address = schedule_data[0][3]
except...
Forum: Python Nov 3rd, 2006
Replies: 7
Views: 1,495
Posted By Zonr_0
Forum: Python Nov 2nd, 2006
Replies: 12
Solved: Loops in Python
Views: 2,546
Posted By Zonr_0
For and While loops serve different functions, you can actually make a For loop using a while loop (though I don't reccomend it.)

Here's a useful function for text-based games:


def...
Forum: Python Oct 30th, 2006
Replies: 6
Views: 4,266
Posted By Zonr_0
I haven't done much GUI work to be honest, but I'm PRETTY sure tkinter has a canvas tool, and you could put that into your card class. Anybody else want to chime in on that?
Forum: Python Oct 28th, 2006
Replies: 2
Views: 842
Posted By Zonr_0
Tuples are great for constants because you won't accidently change them, they're also faster and use less space then lists, iirc.
Forum: Python Oct 28th, 2006
Replies: 8
Views: 2,812
Posted By Zonr_0
I'm not sure what you're trying to do, but this is how you can define an input statement inside of a function:


def question(q):
#Bassiccly, you are setting the variable 'response' to...
Forum: Python Oct 28th, 2006
Replies: 4
Views: 2,100
Posted By Zonr_0
A traceback error is simply a diagnostitic tool to see where something went wrong in your program. It shows the last three or so lines executed before the error occured. It's important to realize...
Forum: IT Professionals' Lounge Oct 27th, 2006
Replies: 81
Views: 15,537
Posted By Zonr_0
Python

def counting(i=0):
while i < 11:
print i,
i += 1

counting()
Forum: Python Oct 27th, 2006
Replies: 8
Views: 1,341
Posted By Zonr_0
What do you mean by
denaylogged()?

Is that a function you defined earlier?
Forum: Apple Hardware Oct 27th, 2006
Replies: 2
Views: 2,735
Posted By Zonr_0
A similar thing has been done before, met with various legal successes by Apple. There have been a handful of programs which convert it from the fairplay format into a raw or .wav format.

The...
Forum: Python Oct 27th, 2006
Replies: 3
Views: 2,610
Posted By Zonr_0
Will this work?
Forum: Python Oct 26th, 2006
Replies: 6
Views: 4,266
Posted By Zonr_0
In this case, a module such as tkinter would be much more useful since it doesn't contain any animation. TKinter is probably your best bet, sicne you can create a simple GUI interface for the whole...
Forum: Python Oct 26th, 2006
Replies: 7
Views: 3,388
Posted By Zonr_0
"rot" is just the parameters defined in the function, and what is happening is it's being added to the value of whatever character the iteration is on.

So therefore, let's say the word is "apple"...
Showing results 1 to 16 of 16

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC