Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
89% Quality Score
Upvotes Received
7
Posts with Upvotes
7
Upvoting Members
6
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #13.1K
Ranked #2K
~40.1K People Reached
Favorite Tags

13 Posted Topics

Member Avatar for vegaseat

Where did this quote come from as it is virtually impossible that Lucifer congratulated himself, as his true mission could only partially succeed by definition. Lucifer (lux, light bringer) is erroneously associated with Satan. Lucifer voluntarily cast him/her/it self out of heaven to bring light to those in the lower …

Member Avatar for Reverend Jim
15
13K
Member Avatar for TECH COFEE

Put something in the listbox to scroll import tkinter def test_callback(event=None): listbox.insert(tkinter.END, "new_item #1") listbox.insert(tkinter.END, "new_item #2") listbox.update() top = tkinter.Tk() top.geometry( "100x100+10+10" ) top.minsize( 200, 200 ) listbox = tkinter.Listbox( top, height=6, width=20, font=('Fixed', 14), foreground='blue' ) scrolly = tkinter.Scrollbar( top, command=listbox.yview ) listbox.configure(yscrollcommand=scrolly.set) scrollx = tkinter.Scrollbar( top, orient=tkinter.HORIZONTAL, …

Member Avatar for zentraders
0
48
Member Avatar for gneisler
Member Avatar for Reverend Jim

> Pi is the circumference of a circle whose diameter is 1, and is the first letter of the Greek word perimeter." > > "will post unusual or little known facts here", what Pi is, is known pretty widely, even if you don't know how to apply it, who invented …

Member Avatar for John_smith
10
21K
Member Avatar for woooee

I don't care about no stinkin' down vote. I have 10 email addresses. I'll cancel your single puny down vote and raise you 9 up votes.

Member Avatar for almostbob
0
270
Member Avatar for stefh

[QUOTE=;][/QUOTE] Post a new question in the Python forum if you want, but [QUOTE]Does anyone know how to set styles for Php codes[/QUOTE][QUOTE]how to set all StyleSetSpec for php[/QUOTE]implies PHP. Do you meant you are writing something like an IDE and want to know how to highlight certain PHP keywords?

Member Avatar for stefh
0
439
Member Avatar for Archenemie
Member Avatar for zentraders
0
295
Member Avatar for Thropian

[QUOTE=;][/QUOTE] [QUOTE]File "C:\Python27\Thropian's games\bouncing ball.py", line 48, in Bounce canvas.delete(ball) File "C:\Python27\lib\lib-tk\Tkinter.py", line 2223, in delete self.tk.call((self._w, 'delete') + args) TclError: invalid command name ".18725904.18725744" [/Quote]Your error message says otherwise. The program is difficult to follow with functions that are not members of the class indented another level past __init__, …

Member Avatar for Thropian
0
1K
Member Avatar for qingmui

There are literally hundreds of palindrome examples on the web, most using "standard" methods, and some of which I have posted myself. [URL=http://www.daniweb.com/code/snippet216787.html]Solutions using recursion[/URL] are posted in [URL=https://encrypted.google.com/search?q=site%3Ahttp%3A%2F%2Fwww.daniweb.com+python+palindrome&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a]many places on Daniweb[/URL] as well, for anyone who looks. I am not going to reward the lazy.

Member Avatar for vegaseat
0
780
Member Avatar for James0l9l

[QUOTE]but the major while loop which begins at while (z==0):, doesn't run through a second time.[/QUOTE]Look for any lines of code that change "z", which is the only way to exit other than a break statement. Also, what happens if someone enters an "X" or any letter other than "N".

Member Avatar for woooee
0
102
Member Avatar for beggers23

[QUOTE=;][/QUOTE] Start with code to draw a line. Next add code to calculate the angle necessary to draw a star with a given number of points. A 5 pointed star would have 10 lines and the angle would be 72 degrees for example. You would then draw a line of …

Member Avatar for beggers23
0
108
Member Avatar for HoneyBadger

Add a print statement to see what is going on.[CODE] #assume this is the list: list1 = ['a', 'b', 'c', 'd', 'e', 'f', 'g'] def iter_list(a): for s in a: print "testing", s return s #here it is when it runs: print iter_list(list1) a [/CODE]

Member Avatar for HoneyBadger
0
112
Member Avatar for kjock002
Member Avatar for TrustyTony
-3
231

The End.