Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: python works on python 2 but not 3
Post: RE: python works on python 2 but not 3

add in line one if use python 3#!/usr/bin/python3 or add #!/usr/bin/python for python 2
balenaucigasa GUI 1 553 Jan-12-2020, 10:01 PM
    Thread: Tkinter exception if entries are not filled up
Post: RE: Tkinter exception if entries are not filled up

from tkinter import * Appli = Tk() Appli.title("Application de retraite") Appli.geometry("640x640") label1 = Label(Appli,text="Entrez votre nom: ",font=("arial",12,"bold"),bg="#2340B6", fg="wh...
balenaucigasa GUI 6 761 Jan-09-2020, 04:47 PM
    Thread: Problem with Submit button Tkinter
Post: RE: Problem with Submit button Tkinter

from tkinter import * window = Tk() window.title("Application de retraite") window.geometry("640x640") label1 = Label(window,text="Entrez votre nom: ",font=("arial",15,"bold"), fg="black").place(...
balenaucigasa GUI 2 1,200 Jan-05-2020, 01:58 AM
    Thread: Problem with Submit button Tkinter
Post: RE: Problem with Submit button Tkinter

replace all "int()" with "IntVar()" e.g. k= IntVar() remove all "" from textvariable="i", ="k", ="revenu_moyen" ... correct is textvariable=i
balenaucigasa GUI 2 1,200 Jan-05-2020, 12:54 AM
    Thread: Need help please properly putting tabs within a PanedWindow
Post: RE: Need help please properly putting tabs within ...

import tkinter as tk from tkinter import ttk class MainApplication(tk.Frame): def __init__(self, parent, *args, **kwargs): tk.Frame.__init__(self, parent, *args, **kwargs) ...
balenaucigasa GUI 2 1,152 Dec-08-2019, 03:02 PM
    Thread: Unable to Access global Variable when switching between frames
Post: RE: Unable to Access global Variable when switchin...

from tkinter import * import tkinter as tk var = "0" def changename(name): #function for changing global variable global var var = name print("your 'def changename' is: ", var) ret...
balenaucigasa GUI 1 1,035 Nov-03-2019, 01:08 AM
    Thread: tkinter window and turtle window error
Post: RE: tkinter window and turtle window error

from tkinter import * import turtle def circle(t,x,y): print("circle") t.down() t.color("#ff0000") for i in range (0,20): t.forward(10) t.rt(18) def turtle...
balenaucigasa GUI 3 2,564 Nov-01-2019, 10:52 PM
    Thread: how can disable menu [About] when Toplevel is active
Post: how can disable menu [About] when Toplevel is acti...

Hi. I want to disable the About menu when Toplevel is active. When the Toplevel window is closed, I want the About menu to be active again. from tkinter import (BOTH, END, BOTTOM, DISABLED, NORMAL, ...
balenaucigasa GUI 0 1,050 Oct-25-2019, 09:49 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020