The Designer form builder that is installed with PyQT is probably the closest thing to Visual Studio.
Too bad that BOA is stuck with wxPython and is at this time not available for Python3 development.
The Designer form builder that is installed with PyQT is probably the closest thing to Visual Studio.
Too bad that BOA is stuck with wxPython and is at this time not available for Python3 development.
The C languages rule on DaniWeb. This will be a tough contest.
Does anybody have experience with Python on the iPad?
Is it easy to get and use Python?
Even worse, one can barely watch TV anymore because of all those mudslinging ads.
How about an input generator for numeric input.
Pick Java so Oracle can sue you if you make money like they did with Google?
Nice clean start!
Vegetarians are cool. All I eat are vegetarians - except for the occasional mountain lion steak.
-- Ted Nugent
The Python frog module is a more advanced turtle module with sound and such:
http://pypi.python.org/pypi/frog/0.87
Should be very interesting for children.
“There are only two kinds of programming languages: those people always bitch about and those nobody uses.”
-- Bjarne Stroustrup
"I will not be a lemming and follow the crowd over the cliff and into the C."
Is there a way to highlight and copy this code so I can try it out?
You can use woooee's code, just replace raw_input with input
Makes George Bush look real good!
Nose prints are a means of identifying dogs.
History is the sum total of things that could have been avoided.
>>> Konrad Adenauer
I have a black cat with green eyes. Her name is Caramba.
Like Tony recommends:
def ten_times(n):
print(n*10)
x = int(input("How many repeats (enter an integer value): "))
for n in range(x):
ten_times(n+1)
Pygame uses (red, green, blue) tuples for colors. The values of the red, green, blue variables are integers between 0 and 255.
So
color_red = (255, 0, 0)
color_blue = (0, 0, 255)
and values between, just experiment a little.
You can use Tkinter that comes with the Python installation:
# using Tkinter's Optionmenu() as a combobox
try:
# Python2
import Tkinter as tk
except ImportError:
# Python3
import tkinter as tk
def select():
sf = "value is %s" % var.get()
root.title(sf)
# optional
color = var.get()
root['bg'] = color
root = tk.Tk()
# use width x height + x_offset + y_offset (no spaces!)
root.geometry("%dx%d+%d+%d" % (330, 80, 200, 150))
root.title("tk.Optionmenu as combobox")
var = tk.StringVar(root)
# initial value
var.set('red')
choices = ['red', 'green', 'blue', 'yellow','white', 'magenta']
option = tk.OptionMenu(root, var, *choices)
option.pack(side='left', padx=10, pady=10)
button = tk.Button(root, text="check value slected", command=select)
button.pack(side='left', padx=20, pady=10)
root.mainloop()
In general a hashing algorithm turns a hashable object (immutable) into an integer value that is much faster to search.
Berry blue Hawaiian punch on ice.
Visiting friends in lovely Needles California where it is 112 degrees F in the shade right now.
degF = 112
degC = (degF-32)*5/9.0
print("%d degF = %d degC" % (degF, degC)) # 112 degF = 44 degC
Execution speed is probably of limited interest for a beginner. Concentrate on learning the basics of Python rather thoroughly. Any program that has display updates and disk access in it, is limited a lot by those operations anyway! Either Python 2.6 or Python 2.7 will do fine for you. Why not use Python 2.7, the most advanced of the Python2 versions.
Maybe two years would make even more difference.
Are brothel sprouts the children of prostitutes?
When the people you date are all virtual.
Looks like this thread is solved.
Oh boy, Jaro's tab indented code looks like dung on a shingle.
Why would you need to update?
Also, Python32 works just fine!
Maybe something like this will help:
http://www.daniweb.com/software-development/python/threads/191210/1246492#post1246492
I don't think there is much difference. However the version from Python.org is usually the most update version. ActivePython has the better installer for Linux.
I used to collect Tonka sports cars when I was little.
The Matchbox ones are okay too.
Omega3 free herring, and some milk.
We had a crumpy old tool and die maker who lived on our street. He called himself Die, and yes I was afraid of Die.
6+2x10 is easy
but
I oftened wondered what 7+2x10 could be
Any nudist beach will do!
She got a mudpack and looked great for two days. Then the mud fell off.
Remember, you are what you eat.
If you eat dull and boring food, you are dull and boring!
Raspberry yogurt and a class of soy milk
Create a search for keywords file search utility. Something you can search all your code samples with. Might just be quite practical.
Turkey chili and red wine.
You can invest something that can make you struck gold overnight. Or the easier way is to slay a dragon. Rumours say that dragon are always guarding huge chests of treasure.:D
Remember to wear extra armor;)
Okay, the next time I see a dragon I will shoot her!
Martin Luther King, Jr.
"A lie cannot live."
-- Martin Luther King, Jr.
Earn it the way the rich folks do.
Ella Fitzgerald
We will not do your homework for you. Show us an effort first, if you have problems we can help.