Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Draw a grid of Tkinter Canvas Rectangles
Post: RE: Draw a grid of Tkinter Canvas Rectangles

for example code run include imports and a snip it so others can easily copy and paste and run it. Since canvas objects require exact coordinates the matrix style of two loops my not be the easiest wa...
joe_momma GUI 5 326 May-09-2021, 01:48 PM
    Thread: Libraries/Tools to create an editor similar to Tiled
Post: RE: Libraries/Tools to create an editor similar to...

Quote:Could anyone tell me why no body is answering my question? your question is similar to 'What's your favorite ice cream and how do I start making it.' Find one you love and practice, practice pra...
joe_momma GUI 13 635 May-07-2021, 01:53 PM
    Thread: Pygame freezes after certain time
Post: RE: Pygame freezes after certain time

what's the objective of the game? I ran your script 3 times without any problems. I'm using linux. I put in a print statement counting the loops thinking if it was odd it would be a up animation and e...
joe_momma Game Development 2 873 May-04-2021, 02:14 PM
    Thread: Arc_AntsHunt: Game Developed In Python Arcade
Post: RE: Arc_AntsHunt: Game Developed In Python Arcade

sounds interesting but: Quote:adt28 doesn’t have any public repositories yet. fallowing your link **wall**
joe_momma Code sharing 2 889 Apr-24-2021, 04:04 PM
    Thread: Text widget inert mode on and off
Post: RE: Text widget inert mode on and off

Quote:From what I can read online about the Text widget, it doesn't support the concept of having insert and overwrite modes correct? If I wanted to have those features, I'd have to code that up mysel...
joe_momma GUI 5 561 Apr-19-2021, 02:18 PM
    Thread: Text widget inert mode on and off
Post: RE: Text widget inert mode on and off

the Text widget inherits from Widget,XView and YView. as far cursors you need to change them manually. >>> from tkinter import * >>> root= Tk() >>> t= Text(root) >>&g...
joe_momma GUI 5 561 Apr-18-2021, 03:58 PM
    Thread: Getting values from ButtonGroup
Post: RE: Getting values from ButtonGroup

guizero is so friendly that even if you pass the incorrect attribute it works. what is row_choice.value? print(type(row_choice.value))
joe_momma GUI 5 489 Mar-30-2021, 02:50 PM
    Thread: Small command shell
Post: RE: Small command shell

If you mouse over the tool bar icons it's the blue and yellow one, when you hoover over it it says "insert python". Put your code between the tags please
joe_momma Code sharing 2 1,042 Mar-30-2021, 12:29 AM
    Thread: Here's a random project I made recently!
Post: RE: Here's a random project I made recently!

You need to get creative on your script names, using os.py as a file name may cause conflicts or collisions in the future when your game gets larger. Make more functions, maybe a function that prints ...
joe_momma Code sharing 1 938 Mar-26-2021, 02:38 AM
    Thread: Python Google maps API -> GUI tkinter
Post: RE: Python Google maps API -> GUI tkinter

Nick, pyqt5, wxpython both have a html widgets. It's been a while but I was using folium easy python map creation to create maps and play, it uses a browser and internet connection.
joe_momma GUI 9 796 Mar-23-2021, 10:06 PM
    Thread: how do i find the canvas location of an object?
Post: RE: how do i find the canvas location of an object...

I saw this in a book to promote coding with children bubble_blaster It's a tkinter game that creates a ship using a canvas object, bubbles -> canvas ovals and a bullet canvas line.
joe_momma GUI 8 702 Mar-03-2021, 02:08 PM
    Thread: GUI calculation mistake
Post: RE: GUI calculation mistake

here's my attempt at a quiz generator quiz generator. I use a separate text(.txt) file formatted- question-> answers -> solution. the tkinter script reads the lines of the file and generates the...
joe_momma GUI 5 587 Mar-02-2021, 06:57 PM
    Thread: how to resize image in canvas tkinter
Post: RE: how to resize image in canvas tkinter

here's an example where the author is using a label resizing an image dynamically
joe_momma GUI 2 1,881 Feb-06-2021, 03:35 PM
    Thread: Distributing Python/Pygame code with CX_Freeze
Post: RE: Distributing Python/Pygame code with CX_Freeze

have you tried pyinstaller? home_page
joe_momma Game Development 2 623 Jan-10-2021, 07:23 PM
    Thread: How to configure scrollbar dimension?
Post: RE: How to configure scrollbar dimension?

I usually use pack- fill=X but for grid try: vsb.grid(row = 0, column = 1,columnspan=2, sticky='n' + 's')
joe_momma GUI 6 652 Jan-02-2021, 11:11 PM
    Thread: How to read text in kivy textinput or Label
Post: RE: How to read text in kivy textinput or Label

to access the input text you can use the textinput id newList => newList.text from kivy.app import App from kivy.lang import Builder from kivy.properties import StringProperty from kivy.uix.textin...
joe_momma GUI 1 598 Dec-29-2020, 10:47 AM
    Thread: Button to clear all output labels?
Post: RE: Button to clear all output labels?

One way is to use textvariables in your label's the main methods are set and get. I would make a list of the dice and set them all to ''. here's an example with the 4d only from tkinter import * from ...
joe_momma GUI 5 654 Dec-09-2020, 11:57 PM
    Thread: ezdxf
Post: RE: ezdxf

first convert to png file using drawing using drawing to convert dxf to png then make a label using pil or pillow here's an example: label with image using PIL
joe_momma GUI 1 480 Dec-06-2020, 09:19 PM
    Thread: Progressbar with start and stop
Post: RE: Progressbar with start and stop

in your script you use stop() but you didn't use start import tkinter as tk from tkinter import * def create_window(): from tkinter import ttk import time def start(): my...
joe_momma GUI 3 502 Nov-28-2020, 08:48 PM
    Thread: Noob question:Using pyttsx3 with tkinter causes program to stop and close, any ideas?
Post: RE: Noob question:Using pyttsx3 with tkinter cause...

Looks like this part in your code is blocking the mainloop in tkinter Quote:engine.runAndWait() you may need to use threading -> thread -> start, to separate the voice to text. I would create a ...
joe_momma GUI 4 1,736 Nov-14-2020, 01:56 AM

User Panel Messages

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