119 Topics

Member Avatar for
Member Avatar for Reverend Jim

## Introduction I have a pile of home movie videos created over more than seventy years. As with my many photos (all in digital form) they require some effort to find particular ones of interest. Typically, I name my videos (and photos) with tags. A file might look like 2013-10-29 …

Member Avatar for Reverend Jim
3
6K
Member Avatar for Reverend Jim

## Introduction I recently bought a new laptop. Since I haven't used VB.Net in years (nothing but Python now) I did not install Visual Studio. That meant rewriting all my VB apps in Python/wxPython. One of my most often used apps was a shell extension I wrote to add a …

Member Avatar for Reverend Jim
2
393
Member Avatar for Reverend Jim

I discovered, after upgrading to Python 3.10, that wxPython no longer worked. Fortunately, a kind soul at wxpython.org suggested I try installing a snapshot build of wxpython via the command pip install -U --pre -f https://wxpython.org/Phoenix/snapshot-builds/ wxPython So far my existing wxPython scripts run just fine. If you are wondering …

4
2K
Member Avatar for Reverend Jim

**Requires:** 1. Python version 3.8 or newer 2. wxPython version 4.0 or newer 3. exif module 4. Windows with NTFS file system To ensure you have the required packages please run the following 1. python -m pip install --upgrade pip 2. pip install exif 3. pip install wxPython I have …

Member Avatar for kimwel
4
966
Member Avatar for Reverend Jim

##This project implements a multiple timer application. It was written in 1. Python 3.8.2 2. wxPython 4.1.0 Feel free to experiment. Here are some possible enhancements: 1. Add the ability to run a program when the timer expires. With a little scripting you could, for example, schedule the sending of …

2
1K
Member Avatar for Reverend Jim

Python-wxPython Tutorial This tutorial will take you through the basics of wxPython. ##Introduction: Let's face it. I am a dinosaur. I got my computer science degree in the mid 70s. And it won't be long before **I** am in **my** mid 70s. So why am I trying to learn Python? …

Member Avatar for Reverend Jim
10
12K
Member Avatar for joy_deep

Hello, I am new to Python. I am learning boxsizer. I want to put two buttons on my panel. One at top right corner and one at bottom right corner. How do I achieve this? Thanks

Member Avatar for Jonny_4
0
989
Member Avatar for Reverend Jim

I have been wrestling with this for two days now and getting nowhere. Something is broken, either the GridSizer control or me. I'm hoping it's me and someone can show me the problem. I've stripped my app of non-essentials. What I am building is a Sudoku app which consists of …

Member Avatar for Reverend Jim
0
1K
Member Avatar for bharathsharma

I'm developing a GUI using wxPython (Boa Constructor IDE). My GUI has the following: Rich text control Start button Stop Button My requirement is that when I press the START button, numbers (1, 2, 3, etc.) should start printing in the text control; it should stop when I press the …

Member Avatar for gdtraveller
0
430
Member Avatar for ihatehippies

I have a wx.DatePickerCtrl with the dropdown popup window that allows the user to pick a date from the calendar. What I would l like to have my program do is process an event when the user has clicked on a day in the dropdown calendar. Unfortunately the only native …

Member Avatar for gdtraveller
0
2K
Member Avatar for Nemius

Hi, i am working on program that connect to database, and user then cans see, edit, insert and delete data in mysql database. I have problem whit update query, can somone help me whit this. User need to click on cell and enter/change data, then hit enter to save changes. …

Member Avatar for woooee
0
578
Member Avatar for colby.christensen

I have been teaching myself Python and wanted to create something useful while learning. I am using wxPython to create the interface. The app works if I use the mouse to click the buttons. I've been trying to get it to recognize operation key-ins like addition using the num pad …

Member Avatar for colby.christensen
0
686
Member Avatar for vegaseat

The idea of this thread is to help the beginning wxPython GUI programmer with hints and helpful code. Please feel free to contribute! If you have any questions start your own thread! For info on wxPython modules see: http://www.wxpython.org/docs/api/wx-module.html

Member Avatar for HiHe
2
21K
Member Avatar for navi2582

I am trying to toggle between the two toolbars (in two different panes) and couldn't do it with the code below. Not sure where the problem is.... I should only see "Page number" details when I click on "Read/Write" and "Hello world" when I click on "Write". Any ideas are …

0
183
Member Avatar for navi2582

I am trying to toggle between the two toolbars and couldn't do it with the code below. Not sure where the problem is.... Any ideas are very welcome!!! Here is the code: `Inline Code Example Here` import wx import wx.grid import wx.html import wx.aui from time import * import cStringIO …

0
174
Member Avatar for navi2582

Hi, I am new to wxpython and trying to develop a small GUI interface (shown below). User selects a python script from "Browse run script" and when he/she hits the button "Execute RunScript", the script should execute via aardvark i2c interface. But I am not sure why it's not getting …

Member Avatar for Gribouillis
0
438
Member Avatar for dsushmareddy

Gtk-CRITICAL **: IA__gtk_range_set_range: assertion `min < max' failed I am getting this error when running my code wriiten using wxpython. Can anyone please explain what this error is.

Member Avatar for vegaseat
0
358
Member Avatar for theUserMan

# Heading Here # Trying to add a webcam fee to a panel inside of my wxpython GUI. I have buttons on the left currently, and a black panel on the right. I'm confused as to how to add a webcam feed to that panel? here is the code being …

Member Avatar for ZZucker
0
469
Member Avatar for Satya Prakash_1

I am writing a GUI flow using wxPython which has 4 pages (or more). They way I have approached is creating 4 (or more) classes with each class defining its own static (background) and dynamic images / content. In my application I would then programmatically create instances class required and …

0
227
Member Avatar for MSV22

Hi I am getting this error AttributeError: 'module' object has no attribute 'instancemethod' I searched through the forum and found answers for this error, but it is not working in my case. I am using python 2.6 and wxpython 2.8. The program which where running perfectly earlier are also showing …

Member Avatar for soibac
1
2K
Member Avatar for Fcasualty

I am trying to add a custom widget dynamically, multiple times. However, the widgets just stack up in the same place. I have tried several combinations of Layout() and Fit() and setSizerAndFit() after adding custom widget to the sizer Thank you for any help #!/usr/bin/env python # -*- coding: US-ASCII …

Member Avatar for Fcasualty
0
298
Member Avatar for manuel.ramirez.9619

Hi! I´m making a really big program of mail sending. However my last problem is the scrolling... The scroll bar don´t react to the mouse wheel and only functions when focusing in the bar , And that´s not user-friendly. how Can I achieve to make the scroll bar react with …

Member Avatar for james.lu.75491856
0
366
Member Avatar for vegaseat

The wxPython Phoenix project can be used with Python version 2 and version 3. The project applies pretty much the familiar wxPython code. Here we are testing a dragable borderless frame.

Member Avatar for vegaseat
3
1K
Member Avatar for vegaseat

This small code example shows you how to approach the beginning concept of an very simple "IDE" for Python.

0
800
Member Avatar for SoulMazer

Hi all, I'm working on a (Python) program which, in short, is a threaded TCP socket server which creates a new "tab" in a wx.Notebook widget for every incoming connection it sees. I've run into a strange problem where when I call notebook.AddPage(...), one of three things happens: 1. A …

Member Avatar for Gribouillis
1
710
Member Avatar for giancan

Dear members, i have a question. I created my software (with windows made with wxpython) and with py2exe I embed the icon into the exe. Since I would like to add the same icon file (or any other image) also as decoration in the window but I don't want to …

Member Avatar for Lardmeister
0
462
Member Avatar for HiHe

Method onPaint does not change the color. Does anyone know why? (there are no errors received) # explore the wxChoice widget # a simple ComboBox (dropdown box) that combines a ListBox with an EditBox # can't get the self.onPaint method to work!!!!! import wx ID_CHOICE = 120 ID_PANEL = 130 …

Member Avatar for HiHe
0
694
Member Avatar for elbarto

Hello all, I have been searching for some time to find the most appropriate enviroment to draw lines and simple tri's / quads in three dimensional space. I have recently experiemented with the floatcanvas class in wxpython and I really like it for 2D work, but extending it into the …

Member Avatar for TrustyTony
0
2K
Member Avatar for nchy13

i searched a llot but in vain. can anyone help me with how to include code written using GTK+ as module in a code that uses wxpython as toolkit. any help whatsoever is appreciated.

Member Avatar for Ene Uran
0
190
Member Avatar for fatalaccidents

Hey guys, My question is pretty simple but I haven't been able to run across it in any of the examples I've seen online. I want to basically have a GUI that asks some questions with comboboxs. I would like it to be where the one at top is the …

0
153

The End.