On Tuesday, March 25, 2014 2:15:11 PM UTC-7, enesk...@gmail.com wrote:
> Exception in Tkinter callback
>
> Traceback (most recent call last):
>
> File "C:\Python33\lib\tkinter\__init__.py", line 1475, in __call__
>
> return self.func(*args)
>
> File "C:/Users/User/PycharmProjects/Cesari
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python33\lib\tkinter\__init__.py", line 1475, in __call__
return self.func(*args)
File "C:/Users/User/PycharmProjects/Cesarian Codes/project.py", line 43, in
gen_random
string = text.get('1.0', 'end')
File "C:\
I have this program, and since I want to change stuff dynamically, I want to
fully clear the root = Tk(), without deleting it. Is there a way to do so?
--
https://mail.python.org/mailman/listinfo/python-list
Can we please revert back to the original problem?
def save():
target = open ("save.swroc", 'w')
target.write([counter, loop, number_of_competitors, competitors])
def load():
the_array = list(open("save.swroc", 'r'))
the_array = target
counter = the_a
I am sorry then. So what's the problem, and if it is a bug, should I report it?
--
https://mail.python.org/mailman/listinfo/python-list
One to write in the file, and one to read it.
--
https://mail.python.org/mailman/listinfo/python-list
I think of it as a bit strange. Should I report it as a bug? I was trying to
incorporate a save/load, and this happened.
def save():
target = open ("save.swroc", 'w')
target.write([counter, loop, number_of_competitors, competitors])
def load():
target = open("save.
http://postimg.org/image/rkm9lhj8n/
So, I was doing some cx freeze stuff. If you cant understand everything from
the pic, I'll give extra info. Please help me.
--
https://mail.python.org/mailman/listinfo/python-list
Thank you, I thought Enter was Enter, but I still have this problem, when I
press the Button, this appears:
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python33\lib\tkinter\__init__.py", line 1475, in __call__
return self.func(*args)
TypeError: get_text() missin
While working with tkinter in python 3.3, I had the following problem.
def get_text(event):
self.number_of_competitors = entered_text.get()
try:
self.number_of_competitors = int(self.number_of_competitors)
except:
pass
For the first time in my life as a novice Python developer, I need to convert a
python file to a .exe (AKA freeze it). Have been having a lot of problems in
finding a proper guide, and have come here to ask for your help humbly. I am
willing to provide any data if needed. Thank you!
--
https://
Now it is giving me this error, after changing to helper = var[r.get()]
line 27, in submit_data
self.something_else[r][1] += 1
TypeError: list indices must be integers, not IntVar
--
https://mail.python.org/mailman/listinfo/python-list
So, I'm having this radio button issue in tkinter:
First I assign the IntVar:
var = []
while i < self.something:
var.append(IntVar())
i += 2
Later on I use them, but I get this error:
for r in var:
helper = var[r].get()
self.something_else[helper] += 1
Then, this happens:
Traceback
SO, I'm still trying to make that tkinter code. I've come far enough, but I now
should place the elements in the window. But I'm having problems with anchor.
No matter how I use it, it always goes to the SW part. I want them to go to the
NW part. Any help please? I can provide any needed info.
So the issue is like this. I have to make a 2 x N grid like this:
o Radio - 1 o Radio - 2
o Radio - 3 o Radio - 4
...
o Radio - N - 1 o Radio - N
How to do so with a loop?
--
https://mail.python.org/mailman/listinfo/python-list
On Friday, January 3, 2014 12:00:05 PM UTC+1, Vlastimil Brom wrote:
> 2014/1/3 :
>
> > @Rick
>
> > I found some solutions for python 2.x, but still, as I am with the future,
> > I need a futuristic solution or 2, so if anyone else could help me, I'd be
> > grateful!
>
> > --
>
>
>
> Hi,
>
On Friday, January 3, 2014 4:19:09 PM UTC+1, larry@gmail.com wrote:
> I think I know the answer is no, but is there any package that allows
>
> creating a list with holes in it? E.g. I'd want to do something like:
>
>
>
> x[10] = 12
>
> x[20] = 30
>
>
>
> I'm thinking of something like
@Terry
Quite sorry but had to write that message in a hurry, didn't notice the name.
@Rick
I found some solutions for python 2.x, but still, as I am with the future, I
need a futuristic solution or 2, so if anyone else could help me, I'd be
grateful!
--
https://mail.python.org/mailman/listinfo/
@Teddy
Yes, indeed I have, but so far I have only found material for scrolling in
other stuff, not the main frame. If you can give me a link...
--
https://mail.python.org/mailman/listinfo/python-list
Hello people!
I'm new to tkinter, but I have to use it for a program for a competition. So, I
make a RadioButton program using a while loop. So far so good, fully working.
BUT it didn't show the full content, even after maximising the window. So, my
question is, how do I make a scroll bar(On x a
20 matches
Mail list logo