Hi,
if you look for some information, a lot of python programmers think wxpython is better than Tkinter, indeed the widgets are more modern and complete in wxpython. you can find it in http://www.wxpython.org and if you want an example you can try with this little editor:
from wxPython.wx...
I don't know if i understood it fine, you mean to create a user interface with Tkinter, wxpython... where you could place different widgets to make it work?
example:
from Tkinter import*
win=Tk()
Frame(win,width=200,height=150).pack()
def go():
print param1.get()+param2.get()
param1 =...
You must import random module
an example could be:
import random
random.randrange(0,10)
# where 0 is start and 10 is stop.
if you add another number like (0,10,2) means that in this case 2 is the step.
I hope it helps
I prefer the Idle of python, is very easy to use, but if you want something different, take a look to BOA contructor or pythonwin. I have used BOA and I think it needs to be improved (that's only my opinion) and finally I decided to program with the python IDLE.
I hope it helps.
bye
Hello,
Tkinter module is integrated in python, and is very easy to use, you can download different tutorials, just look for them in the google writting "an introduction to Tkinter".
If you want to make a simple application, I give you a little example:
from Tkinter import*
win=Tk()
Label...
Hi,
Yesterday I posted one question about how to get the coordenates of one dot in a dot graph. I resolved the problem using the command "bind" and ericbrunson told me that there was a similar thread.
I don't know if you want to do something similar, but take a look to this command, maybe it...
Hello
I resolve my problem, I just had to use "bind" with the Canvas graph, it was something like:
first I created the following function
def callback(event):
event.x
event.y
I joined the Canvas graph with the function callback
Canvas.bind("Double-Button-1",callback)
With this...
Hello
I am a spanish bioinformatician, and I need to develop a tool that could analyze the data obtained from DNA microarrays experiment. I have nearly finished, but there is one part that I can't develop.
The problem is that I have a dot graph which shows the expression levels of thousand of...
I HOPE IT WORKS BUT YOU CAN USE THIS LITTLE PROGRAM
PSET(0,0)
DO
DO
KEY$ =INKEY$
LOOP UNTIL KEY$ <>""
NUMKEY%=ASC(RIGHT$(KEY$,1))
SELECT CASE NUMKEY%
CASE 72 upkey
y =y+1
CASE 80 downkey
y = y-1
CASE 75 leftkey
x = x-1
CASE 77 rightkey
x =x+1
CASE ELSE
END SELECT
PSET (X,Y)
LOOP UNTIL...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.