[issue216289] Programs using Tkinter sometimes can't shut down (Windows)

2022-04-10 Thread admin
Change by admin : ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue216289] Programs using Tkinter sometimes can't shut down (Windows)

2022-04-10 Thread admin
Change by admin : -- github: None -> 33305 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

python list files and folder using tkinter

2021-12-05 Thread Pascal B via Python-list
Hello, I have already posted a message some time ago for this app. Since then, I didn't code in python or made any changes. I think before getting further with functionnalities a few things or the whole thing need to be changed. For exemple, it would need a button to pick folders and maybe ask

[issue43671] segfault when using tkinter + pygame for ~5 minutes

2021-04-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue43671] segfault when using tkinter + pygame for ~5 minutes

2021-03-30 Thread Pycrytor10
Pycrytor10 added the comment: My original script has tkinter used as well. I wasn't entirely sure where it was when I filed the bug at first and just saw a tk/tcl mentioned in the logs. It does look now I've managed to investigate further to be something in pygame. I've never had to debug a

[issue43671] segfault when using tkinter + pygame for ~5 minutes

2021-03-30 Thread E. Paine
E. Paine added the comment: Not sure why this was marked as a problem with tkinter (neither Pygame nor the example use it). I would be very surprised if this wasn't an issue with Pygame, as the Python is just requesting a dictionary deallocation which is then handled by Pygame's

[issue43671] segfault when using tkinter + pygame for ~5 minutes

2021-03-30 Thread Pycrytor10
Pycrytor10 added the comment: Also filed https://github.com/pygame/pygame/issues/2543 as not sure where issue comes from -- ___ Python tracker ___

[issue43671] segfault when using tkinter + pygame for ~5 minutes

2021-03-30 Thread Pycrytor10
Change by Pycrytor10 : Added file: https://bugs.python.org/file49921/segfaultpygame.txt ___ Python tracker ___ ___ Python-bugs-list mailing

[issue43671] segfault when using tkinter + pygame for ~5 minutes

2021-03-30 Thread Pycrytor10
Pycrytor10 added the comment: Can reproduce with a modified pygame.examples.alien to run in a loop after a similar time. -- Added file: https://bugs.python.org/file49920/aliens.py ___ Python tracker

[issue43671] segfault when using tkinter + pygame for ~5 minutes

2021-03-30 Thread Samuel Kirwin
on MacBook Air (Retina, 13-inch, 2018) with 1.6 GHz Dual-Core Intel Core i5 & 8 GB 2133 MHz LPDDR3 Memory -- components: Tkinter files: segfault.rtf messages: 389827 nosy: Pycryptor10 priority: normal severity: normal status: open title: segfault when using tkinter + pygame for ~5 min

Re: Problem exiting from a script using tkinter

2020-11-25 Thread Paulo da Silva
Às 22:44 de 21/11/20, Chris Angelico escreveu: > On Sun, Nov 22, 2020 at 9:36 AM Paulo da Silva > wrote: >> >> Às 22:18 de 21/11/20, Chris Angelico escreveu: >>> On Sun, Nov 22, 2020 at 9:16 AM Paulo da Silva >>> wrote: Hi! Why this does not work?! from tkinter

Re: Problem exiting from a script using tkinter

2020-11-21 Thread Chris Angelico
On Sun, Nov 22, 2020 at 9:36 AM Paulo da Silva wrote: > > Às 22:18 de 21/11/20, Chris Angelico escreveu: > > On Sun, Nov 22, 2020 at 9:16 AM Paulo da Silva > > wrote: > >> > >> Hi! > >> > >> Why this does not work?! > >> > >> from tkinter import * > >> > >> def terminate(root): > >>

Re: Problem exiting from a script using tkinter

2020-11-21 Thread Paulo da Silva
Às 22:18 de 21/11/20, Chris Angelico escreveu: > On Sun, Nov 22, 2020 at 9:16 AM Paulo da Silva > wrote: >> >> Hi! >> >> Why this does not work?! >> >> from tkinter import * >> >> def terminate(root): >> root.quit >> > > Is root.quit a function? Simply referencing a function's name does not

Re: Problem exiting from a script using tkinter

2020-11-21 Thread Chris Angelico
On Sun, Nov 22, 2020 at 9:16 AM Paulo da Silva wrote: > > Hi! > > Why this does not work?! > > from tkinter import * > > def terminate(root): > root.quit > Is root.quit a function? Simply referencing a function's name does not call it (because functions are first-class objects - you can put

Problem exiting from a script using tkinter

2020-11-21 Thread Paulo da Silva
Hi! Why this does not work?! from tkinter import * def terminate(root): root.quit root=Tk() #b=Button(root,text="QUIT",command=root.quit) b=Button(root,text="QUIT",command=lambda: terminate(root)) b.pack() mainloop() Thanks -- https://mail.python.org/mailman/listinfo/python-list

Re: Hide text in entry box when i click on it.(GUI using Tkinter in python)

2019-05-31 Thread Chris Angelico
On Sat, Jun 1, 2019 at 5:11 AM wrote: > > NOT WORKING IN MINE PLZ HELP > > > > from tkinter import * > g=Tk() > g.geometry("{0}x{1}+0+0".format(g.winfo_screenwidth(), > g.winfo_screenheight())) > g.title("Check") > g.configure(background='powder blue') > > > def clear_search(event): >

Re: Hide text in entry box when i click on it.(GUI using Tkinter in python)

2019-05-31 Thread Rhodri James
On 31/05/2019 20:08, sakshamrahej...@gmail.com wrote: NOT WORKING IN MINE PLZ HELP from tkinter import * g=Tk() ^^ g.geometry("{0}x{1}+0+0".format(g.winfo_screenwidth(), g.winfo_screenheight())) g.title("Check") g.configure(background='powder blue') def clear_search(event):

Re: Hide text in entry box when i click on it.(GUI using Tkinter in python)

2019-05-31 Thread sakshamraheja11
NOT WORKING IN MINE PLZ HELP from tkinter import * g=Tk() g.geometry("{0}x{1}+0+0".format(g.winfo_screenwidth(), g.winfo_screenheight())) g.title("Check") g.configure(background='powder blue') def clear_search(event): e1.delete(0, tk.END) e1=Entry(g) e1.insert(0,'username') e1.pack()

Re: Hide text in entry box when i click on it.(GUI using Tkinter in python)

2019-05-31 Thread sakshamraheja11
Not happening in mine -- https://mail.python.org/mailman/listinfo/python-list

Create GUI with Python using Tkinter | Youtube Playlist

2019-03-27 Thread Attreya Bhatt
In this series of 30 videos we learn how to create a Music Player from scratch using Python. Youtube Playlist - https://www.youtube.com/playlist?list=PLhTjy8cBISEp6lNKUO3iwbB1DKAkRwutl -- https://mail.python.org/mailman/listinfo/python-list

New docs: using tkinter GUIs on Android

2019-02-18 Thread Mark Lutz
I've just posted guides for running Python tkinter programs on Android in the Pydroid 3 app's IDE. The first covers multiple programs, and the second focuses on a content-sync program: https://learning-python.com/using-tkinter-programs-on-android.html https://learning-python.com/mergeall

Re: Hide text in entry box when i click on it.(GUI using Tkinter in python)

2017-11-11 Thread tonysmart . ct
Thanks it was helpful -- https://mail.python.org/mailman/listinfo/python-list

Re: Using TKinter to show popular tweets from twitter API (Tweepy)

2017-04-05 Thread Terry Reedy
On 4/5/2017 3:48 PM, uni...@gmail.com wrote: I'm building a python app where it should show the popular tweets > in boxes in line with each other using TKinter. By 'boxes' do you mean a visible border for Label widgets? If so, you have to configure one. You don't below. > The p

Using TKinter to show popular tweets from twitter API (Tweepy)

2017-04-05 Thread unihno
hello I'm building a python app where it should show the popular tweets in boxex in line with each other using TKinter. The problem is that the labels of the tweets are showing at the bottom of each other and i want them to be in boxes like

Re: Hide text in entry box when i click on it.(GUI using Tkinter in python)

2017-01-25 Thread Christian Gollwitzer
Am 25.01.17 um 10:18 schrieb Peter Otten: hmmeeranrizv...@gmail.com wrote: Hello Guys, Here i am creating a entry box with some text,i need to hide the text when i click on it. search.bind("", clear_search) This is the correct answer for a mouse click. The typical use case (disappearing

Re: Hide text in entry box when i click on it.(GUI using Tkinter in python)

2017-01-25 Thread hmmeeranrizvi18
On Wednesday, January 25, 2017 at 1:15:11 PM UTC+5:30, hmmeera...@gmail.com wrote: > Hello Guys, > Here i am creating a entry box with some text,i need to hide the text when i > click on it. > Here is my code > > from Tkinter import * > obj = Tk() > b = Entry(obj,width=100) > b.insert(0,"Enter

Re: Hide text in entry box when i click on it.(GUI using Tkinter in python)

2017-01-25 Thread Peter Otten
hmmeeranrizv...@gmail.com wrote: > Hello Guys, > Here i am creating a entry box with some text,i need to hide the text when > i click on it. Here is my code > > from Tkinter import * > obj = Tk() > b = Entry(obj,width=100) > b.insert(0,"Enter the value to search") > b.pack() > mainloop() You

Hide text in entry box when i click on it.(GUI using Tkinter in python)

2017-01-24 Thread hmmeeranrizvi18
Hello Guys, Here i am creating a entry box with some text,i need to hide the text when i click on it. Here is my code from Tkinter import * obj = Tk() b = Entry(obj,width=100) b.insert(0,"Enter the value to search") b.pack() mainloop() -- https://mail.python.org/mailman/listinfo/python-list

Re: need help to get my python image to move around using tkinter

2016-11-18 Thread Thomas Grops via Python-list
thankyou so much, that is the exact help I required to put me in the right direction :D -- https://mail.python.org/mailman/listinfo/python-list

Re: need help to get my python image to move around using tkinter

2016-11-18 Thread Peter Otten
twgrops--- via Python-list wrote: > Hi I am new here and to python, > > I am currently studying towards my degree in computer science and have to > build a program but I have hit a brick wall. I am trying to make an image > move around the canvas. I can make a rectangle move using the following:

need help to get my python image to move around using tkinter

2016-11-18 Thread twgrops--- via Python-list
Hi I am new here and to python, I am currently studying towards my degree in computer science and have to build a program but I have hit a brick wall. I am trying to make an image move around the canvas. I can make a rectangle move using the following: #test rectangle

Re: rocket simulation game with just using tkinter

2016-10-05 Thread Irmen de Jong
On 5-10-2016 2:43, Dennis Lee Bieber wrote: > Or do what I once did with the Lunar Lander game on my college > computer... Target accuracy: Excellent... Landing gear? somewhere on the > other side of the moon. My vertical velocity was sub-inches per second -- > the horizontal velocity was in

Re: rocket simulation game with just using tkinter

2016-10-04 Thread Irmen de Jong
On 4-10-2016 10:20, Christian Gollwitzer wrote: > Thanks! It works now with the cursor keys as intended. I'm still having > trouble, but > only because my game playing skills are not very good ;) Have you managed to land the rocket again at all after a takeoff? You can practice landing a bit by

Re: rocket simulation game with just using tkinter

2016-10-04 Thread Christian Gollwitzer
Am 02.10.16 um 14:46 schrieb Irmen de Jong: On 1-10-2016 22:07, Irmen de Jong wrote: Oh, I'm sorry about that, my little knowledge of non-US keyboard layouts shows. Arrow keys could be an option. For my education what are the 2 keys to the right of the P then on your keyboard? Rebinding the

Re: rocket simulation game with just using tkinter

2016-10-02 Thread Irmen de Jong
On 1-10-2016 22:07, Irmen de Jong wrote: > On 1-10-2016 15:44, Christian Gollwitzer wrote: >> Am 01.10.16 um 00:59 schrieb Irmen de Jong: >>> Hi, >>> >>> I've made a very simple rocket simulation game, inspired by the recent >>> success of SpaceX >> >>> You can get the code here if you want to

Re: rocket simulation game with just using tkinter

2016-10-01 Thread Irmen de Jong
On 1-10-2016 15:44, Christian Gollwitzer wrote: > Am 01.10.16 um 00:59 schrieb Irmen de Jong: >> Hi, >> >> I've made a very simple rocket simulation game, inspired by the recent >> success of SpaceX > >> You can get the code here if you want to give it a try: >>

Re: rocket simulation game with just using tkinter

2016-10-01 Thread Christian Gollwitzer
Am 01.10.16 um 00:59 schrieb Irmen de Jong: Hi, I've made a very simple rocket simulation game, inspired by the recent success of SpaceX You can get the code here if you want to give it a try: https://github.com/irmen/rocketsimulator Nice! I'll have to rebind the keys before I can

Re: rocket simulation game with just using tkinter

2016-10-01 Thread Sayth Renshaw
ake a simple graphics animation game with just > using Tkinter, > instead of using other game libraries such as PyGame. > As it turns out, that works pretty well and it was quite easy to write. > Granted, there's > not much going on on the screen, but still the game runs very smoothly and

rocket simulation game with just using tkinter

2016-09-30 Thread Irmen de Jong
Hi, I've made a very simple rocket simulation game, inspired by the recent success of SpaceX where they managed to land the Falcon-9 rocket back on a platform. I was curious if you can make a simple graphics animation game with just using Tkinter, instead of using other game libraries

[issue27371] Runaway memory consumption using tkinter update()

2016-06-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could you please file a report on Tk bugtracker? https://core.tcl.tk/tk/ticket -- ___ Python tracker ___

[issue27371] Runaway memory consumption using tkinter update()

2016-06-24 Thread R. David Murray
Changes by R. David Murray : -- stage: -> resolved ___ Python tracker ___ ___

[issue27371] Runaway memory consumption using tkinter update()

2016-06-23 Thread Jeremy Blow
Jeremy Blow added the comment: Confirmed the problem is with Tk/MacOS. Running a simple TCL script yielded the same behavior in terms of memory. The hunt goes elsewhere... Thank you R. David for the suggestion. ``` package require Tk while 1 { update } ``` # MacOS 10.9.4 /Users/jeremy$

[issue27371] Runaway memory consumption using tkinter update()

2016-06-23 Thread Jeremy Blow
Jeremy Blow added the comment: That seems like a good idea, will do so and report back findings. Hey, good meeting you at PyCon, by the way. Met you at the freelance open space. :-) -- ___ Python tracker

[issue27371] Runaway memory consumption using tkinter update()

2016-06-23 Thread R. David Murray
R. David Murray added the comment: You might want to try stripping it further, and see if you can reproduce it just using tk, without python involved. -- nosy: +r.david.murray title: Runaway memory consumption using update() -> Runaway memory consumption using tkinter upd

[issue24524] python crash using Tkinter

2015-07-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Unfortunately can't reproduce the issue in 2.7.6, 2.7.10+, 3.4.0, 3.4.3+, 3.5.0b2+, 3.6.0a0 with Tcl/Tk 8.6.1. The only output is: Traceback (most recent call last): File stdin, line 1, in module File /usr/lib/python2.7/lib-tk/tkFileDialog.py, line 125,

[issue24524] python crash using Tkinter

2015-07-05 Thread Tomas Nordin
Tomas Nordin added the comment: I have not experienced this problem on windoze. The problem seem to have appeared when upgrading my operating system from Debian wheezy to jessie, I think with python going from 2.7.3 to 2.7.9. And I have a stomach feeling it is related to the environment. I

[issue24524] python crash using Tkinter

2015-07-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Will not accept superseder -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24524 ___ ___ Python-bugs-list

[issue24524] python crash using Tkinter

2015-07-03 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: -- superseder: - tkinter: alloc: invalid block: after askopenfilename ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24524 ___

[issue24524] python crash using Tkinter

2015-07-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: On Windows 7, no problem on either 2.7.10 or 3.5.0b2 (running from Command Prompt so would see message is there were one). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24524

[issue24524] python crash using Tkinter

2015-07-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: This should be closed as duplicate of #22810. Tracker malfunctioning right now. -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24524

[issue24524] python crash using Tkinter

2015-07-03 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- resolution: - duplicate stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24524 ___

[issue24524] python crash using Tkinter

2015-06-28 Thread Tomas Nordin
/Linux See also #22810 -- components: Tkinter messages: 245917 nosy: tomnor priority: normal severity: normal status: open title: python crash using Tkinter type: crash versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org

Re: Looking for sample python script using Tkinter

2015-01-02 Thread Christian Gollwitzer
Am 03.01.15 um 00:03 schrieb accessnew...@gmail.com: I have a script that I trying to go from command line entry to interface entry. I am tinkering with Tkinter and want to review some Tkinter interface building scripts. Really basic stuff covering file selection and making some of the data

Re: Looking for sample python script using Tkinter

2015-01-02 Thread Rick Johnson
On Friday, January 2, 2015 5:03:35 PM UTC-6, access...@gmail.com wrote: I have a script that I trying to go from command line entry to interface entry. [...] I have a few requirements when capturing the data: Must be able to navigate to a file and capture entire filename and pathname

Looking for sample python script using Tkinter

2015-01-02 Thread accessnewbie
I have a script that I trying to go from command line entry to interface entry. I am tinkering with Tkinter and want to review some Tkinter interface building scripts. Really basic stuff covering file selection and making some of the data captured required I am learning how to use Tkinter

How to display a database table on my widget using tkinter

2014-12-05 Thread brice DORA
Hi i created a widget that i connected my sql server database. my goal is to put and display data into my database from my widget. i can put data into my database table but my problem is how to display these data on my widget like a table...thanks you at all --

Re: Sequencing images using tkinter?

2014-08-31 Thread theteacher . info
Okay. Got it now. Your help is much appreciated. Thanks. -- https://mail.python.org/mailman/listinfo/python-list

Sequencing images using tkinter?

2014-08-30 Thread theteacher . info
I've started to learn to use tkinter but can't seem to rotate images. Here is a Python 3.4 program to illustrate the problem. Anyone spot why the for loop doesn't seem to want to display a sucssession of images please? Thanks. import sys from tkinter import * import random from time import

Re: Sequencing images using tkinter?

2014-08-30 Thread Terry Reedy
On 8/30/2014 11:54 AM, theteacher.i...@gmail.com wrote: I've started to learn to use tkinter but can't seem to rotate images. Here is a Python 3.4 program to illustrate the problem. Anyone spot why the for loop doesn't seem to want to display a sucssession of images please? Thanks. import

Re: Sequencing images using tkinter?

2014-08-30 Thread Peter Otten
theteacher.i...@gmail.com wrote: I've started to learn to use tkinter but can't seem to rotate images. Here is a Python 3.4 program to illustrate the problem. Anyone spot why the for loop doesn't seem to want to display a sucssession of images please? Thanks. GUI programs are different

Re: Sequencing images using tkinter?

2014-08-30 Thread theteacher . info
Peter - Thanks! I've had a play around and followed your advice and have something that should take me on to the next step! This is what I have so far and it works, Thanks. from tkinter import * from tkinter import ttk import random root = Tk() root.title(Messing about) def next_image():

Re: Sequencing images using tkinter?

2014-08-30 Thread theteacher . info
Although getting next_image to run for e.g. 10 times in a for loop is still something I can't get to work. It only displays one image. -- https://mail.python.org/mailman/listinfo/python-list

Re: Sequencing images using tkinter?

2014-08-30 Thread theteacher . info
How do you exit from this function? def next_image(): myLabel.config(image=random.choice(monster_images)) # tell tkinter to invoke next_image() again after 200 miliseconds root.after(200, next_image) -- https://mail.python.org/mailman/listinfo/python-list

Re: Sequencing images using tkinter?

2014-08-30 Thread Albert Visser
On Sat, 30 Aug 2014 22:27:01 +0200, theteacher.i...@gmail.com wrote: Although getting next_image to run for e.g. 10 times in a for loop is still something I can't get to work. It only displays one image. I think this is because you do all your processing befoe starting the event loop

Re: Sequencing images using tkinter?

2014-08-30 Thread Peter Otten
theteacher.i...@gmail.com wrote: How do you exit from this function? def next_image(): myLabel.config(image=random.choice(monster_images)) # tell tkinter to invoke next_image() again after 200 miliseconds You misunderstand. The problem with the function is not that it doesn't

Re: Unwanted window spawns when using Tkinter with multiprocessing.

2013-04-30 Thread alternative00
Dave A. Yeah I'm using MRAB's code, my current code is : #Initalisation global event global hitkey #Functions def key(event): hitkey = event.char instance = multiprocessing.Process(target=player, args=(hitkey,)) instance.start() def player(hitkey):

Re: Unwanted window spawns when using Tkinter with multiprocessing.

2013-04-30 Thread Dave Angel
On 04/30/2013 08:22 AM, alternativ...@rocketmail.com wrote: Dave A. Yeah I'm using MRAB's code, my current code is : #Initalisation global event global hitkey #Functions def key(event): hitkey = event.char instance = multiprocessing.Process(target=player, args=(hitkey,))

Re: Unwanted window spawns when using Tkinter with multiprocessing.

2013-04-30 Thread alternative00
Dave A. No, not a new window, but my player function doesn't play any sound anymore. -- http://mail.python.org/mailman/listinfo/python-list

Re: Unwanted window spawns when using Tkinter with multiprocessing.

2013-04-29 Thread alternative00
My full code is : #Import from tkinter import * import wave import winsound import multiprocessing #Initialisation fenetre=Tk() frame = Frame(fenetre, width=200, height=100) instance = 'Instance' #Fonctions def key(event): instance = 'Instance' hitkey = event.char instance =

Re: Unwanted window spawns when using Tkinter with multiprocessing.

2013-04-29 Thread MRAB
On 29/04/2013 16:31, alternativ...@rocketmail.com wrote: My full code is : #Import from tkinter import * import wave import winsound import multiprocessing #Initialisation fenetre=Tk() frame = Frame(fenetre, width=200, height=100) instance = 'Instance' #Fonctions def key(event):

Re: Unwanted window spawns when using Tkinter with multiprocessing.

2013-04-29 Thread alternative00
It definetly helped, windows don't pop up anymore, but now it doesn't make any sound anymore. Could it be because of a local (non-global) variable ? -- http://mail.python.org/mailman/listinfo/python-list

Re: Unwanted window spawns when using Tkinter with multiprocessing.

2013-04-29 Thread Chris Angelico
On Tue, Apr 30, 2013 at 3:32 AM, alternativ...@rocketmail.com wrote: It definetly helped, windows don't pop up anymore, but now it doesn't make any sound anymore. Could it be because of a local (non-global) variable ? Did you read what I linked you to? There are rules to using

Re: Unwanted window spawns when using Tkinter with multiprocessing.

2013-04-29 Thread alternative00
Yeah I did, but I globalized my variables, I've got only functions, and not methods, and my clause seems to work so I don't know why it doesn't work. -- http://mail.python.org/mailman/listinfo/python-list

Re: Unwanted window spawns when using Tkinter with multiprocessing.

2013-04-29 Thread Chris Angelico
On Tue, Apr 30, 2013 at 4:44 AM, alternativ...@rocketmail.com wrote: Yeah I did, but I globalized my variables, I've got only functions, and not methods, and my clause seems to work so I don't know why it doesn't work. I don't know what you mean by your clause, and I think we have a language

Re: Unwanted window spawns when using Tkinter with multiprocessing.

2013-04-29 Thread alternative00
I thought 'clause' was reffering to the 'if __name__ == __main__:' thing in English, but apparently not. Well except the import and the 'globalization' of my variables, every thing is idented. -- http://mail.python.org/mailman/listinfo/python-list

Re: Unwanted window spawns when using Tkinter with multiprocessing.

2013-04-29 Thread Dave Angel
On 04/29/2013 09:17 PM, alternativ...@rocketmail.com wrote: I thought 'clause' was reffering to the 'if __name__ == __main__:' thing in English, but apparently not. Well except the import and the 'globalization' of my variables, every thing is idented. No clue whom you think you're replying

Unwanted window spawns when using Tkinter with multiprocessing.

2013-04-28 Thread alternative00
Hi everyone, I'm trying to use multiprocessing to avoid Python's GIL but with Tkinter, instead of running my main function, it spawns new windows. In fact, my fuction is used everytime I press a specified key, but with multiprocessing I only get a new window when I hit a key. Does anyone have

Re: Unwanted window spawns when using Tkinter with multiprocessing.

2013-04-28 Thread Dave Angel
On 04/28/2013 02:33 PM, alternativ...@rocketmail.com wrote: Hi everyone, I'm trying to use multiprocessing to avoid Python's GIL but with Tkinter, instead of running my main function, it spawns new windows. In fact, my fuction is used everytime I press a specified key, but with

Re: Unwanted window spawns when using Tkinter with multiprocessing.

2013-04-28 Thread alternative00
Sorry for my bad english. Here's my code : def key(event): instance = 'Instance' touche = event.char instance = multiprocessing.Process(target=player, args=(hitkey,)) instance.start() def player(hitkey):

Re: Unwanted window spawns when using Tkinter with multiprocessing.

2013-04-28 Thread Dave Angel
On 04/28/2013 06:23 PM, alternativ...@rocketmail.com wrote: Sorry for my bad english. Here's my code : def key(event): instance = 'Instance' touche = event.char instance = multiprocessing.Process(target=player, args=(hitkey,)) instance.start()

Re: Unwanted window spawns when using Tkinter with multiprocessing.

2013-04-28 Thread alternative00
Well I saw this clause on most of the multiprocessing examples I saw but the reason it was here wasn't explained so I just ignored it (yeah stupid I know). I don't think I bypassed anything, at least not on purpose. I'm running on Windows 7 64 bits. --

Re: Unwanted window spawns when using Tkinter with multiprocessing.

2013-04-28 Thread Dave Angel
On 04/28/2013 07:40 PM, alternativ...@rocketmail.com wrote: Well I saw this clause on most of the multiprocessing examples I saw but the reason it was here wasn't explained so I just ignored it (yeah stupid I know). I don't think I bypassed anything, Yes, you skipped the essential if clause.

Re: Unwanted window spawns when using Tkinter with multiprocessing.

2013-04-28 Thread Chris Angelico
On Mon, Apr 29, 2013 at 9:40 AM, alternativ...@rocketmail.com wrote: Well I saw this clause on most of the multiprocessing examples I saw but the reason it was here wasn't explained so I just ignored it (yeah stupid I know). I don't think I bypassed anything, at least not on purpose. I'm

need help using Tkinter

2009-07-28 Thread Manzur Ahmed
i wanted to ask you if one of you could help me to use Tkinter. i'm trying to just create a simple GUI for which I have provided the code for below. # Simple GUI # Demonstrates creating a window from Tkinter import * # create the root window root = Tk () # modify the window root.title(Simple

Re: need help using Tkinter

2009-07-28 Thread MRAB
Manzur Ahmed wrote: i wanted to ask you if one of you could help me to use Tkinter. i'm trying to just create a simple GUI for which I have provided the code for below. # Simple GUI # Demonstrates creating a window from Tkinter import * # create the root window root = Tk () # modify the

Re: need help using Tkinter

2009-07-28 Thread Mark Roseman
MRAB pyt...@mrabarnett.plus.com wrote: Manzur Ahmed wrote: i wanted to ask you if one of you could help me to use Tkinter. i'm trying to just create a simple GUI for which I have provided the code for below. There are some differences between Python 3.x and Python 2.x. In Python 3.1

Re: need help using Tkinter

2009-07-28 Thread Jan Kaliszewski
28-07-2009 o 17:17 Manzur Ahmed dearman...@gmail.com wrote: i wanted to ask you if one of you could help me to use Tkinter. i'm trying to just create a simple GUI for which I have provided the code for below. [snip] i tried to google search this and there were some threads that were saying

Re: Memory leak problem (while using tkinter)

2008-12-31 Thread Marc 'BlackJack' Rintsch
On Tue, 30 Dec 2008 20:21:06 -0800, André wrote: I have written a small program (my first Tkinter-based app) to play around the idea mentioned on http://rogeralsing.com/2008/12/07/genetic-programming-evolution-of-mona- lisa/ and, in doing so, have encountered a memory leak problem. I have

Solved. was: Memory leak problem (while using tkinter)

2008-12-31 Thread André
On Dec 31, 12:21 am, André andre.robe...@gmail.com wrote: I have written a small program (my first Tkinter-based app) to play around the idea mentioned on http://rogeralsing.com/2008/12/07/genetic-programming-evolution-of-mo... and, in doing so, have encountered a memory leak problem.   I have

Memory leak problem (while using tkinter)

2008-12-30 Thread André
I have written a small program (my first Tkinter-based app) to play around the idea mentioned on http://rogeralsing.com/2008/12/07/genetic-programming-evolution-of-mona-lisa/ and, in doing so, have encountered a memory leak problem. I have seen mentions on the web of using the delete() method of

Using Tkinter and Tix together opens a new DOS Window in addition to the actual GUI on windows XP

2008-10-01 Thread dudeja . rajat
Hi, I m using Tkinter and Tix. I'm using Tkinter mainly for all the widgets except for the TixComboBox for which I use Tix. My event loop starts like this: myRoot = Tix.Tk() myRoot.title(Test Automation)# myAppGUIObject = myAppGUI(myRoot, logger) #myAPPGUI is the class for creating GUI

Re: Using Tkinter

2008-08-23 Thread Scott David Daniels
J-Burns wrote: Hello. Im a bit new to using Tkinter and im not a real pro in programming itself... :P. Need some help here. OK, looks like you are getting direct answers, but I thought I'd mention an easy way to experiment with Tkinter programming. If you start Idle with the -n switch

Re: Using Tkinter

2008-08-23 Thread Cameron Laird
In article [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: On Aug 22, 7:20 am, J-Burns [EMAIL PROTECTED] wrote: . . . If I have a drop down box in Pythons tkinter, is it possible that the entities that the drop down has are

Using Tkinter

2008-08-22 Thread J-Burns
Hello. Im a bit new to using Tkinter and im not a real pro in programming itself... :P. Need some help here. Problem 1: How do I make something appear on 2 separate windows using Tkinter? By this I mean that the format would be something like this: You have Page1 : This has 2-3 buttons

Re: Using Tkinter

2008-08-22 Thread adam2new
PROTECTED] wrote: Problem 1: How do I make something appear on 2 separate windows using Tkinter? By this I mean that the format would be something like this: You have Page1 : This has 2-3 buttons on it. Clicking on each button opens up a new window respectively having something entirely different

Having problems using Tkinter

2008-07-01 Thread viv1tyagi
Hi everyone ! ! ! I'm just a month old in the world of Python and trying to develop an application using Tkinter in which a new window pops out on a particular button press.The code for this new window is in AddKlas.py file. The problem is all the content of the new window is overwritten

Re: Having problems using Tkinter

2008-07-01 Thread Marc 'BlackJack' Rintsch
On Tue, 01 Jul 2008 03:13:42 -0700, viv1tyagi wrote: Hi everyone ! ! ! I'm just a month old in the world of Python and trying to develop an application using Tkinter in which a new window pops out on a particular button press.The code for this new window is in AddKlas.py file

Re: People still using Tkinter?

2008-05-10 Thread Marc 'BlackJack' Rintsch
On Sat, 10 May 2008 00:20:33 -0500, Kenneth McDonald wrote: Any guesses as to how many people are still using Tkinter? And can anyone direct me to good, current docs for Tkinter? AFAIK `Tkinter` hasn't changed much over time, so old documentation is still current. Ciao, Marc

Re: People still using Tkinter?

2008-05-10 Thread castironpi
On May 10, 1:38 am, Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote: On Sat, 10 May 2008 00:20:33 -0500, Kenneth McDonald wrote: Any guesses as to how many people are still using Tkinter? And can   anyone direct me to good, current docs for Tkinter? AFAIK `Tkinter` hasn't changed much over

Re: People still using Tkinter?

2008-05-10 Thread Guilherme Polo
2008/5/10 Kenneth McDonald [EMAIL PROTECTED]: Any guesses as to how many people are still using Tkinter? And can anyone direct me to good, current docs for Tkinter? I will say no to the first question. Now about the second question.. there are these links you may find interesting

  1   2   >