Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: help needed running a simple function in pyqt5
Post: RE: help needed running a simple function in pyqt5

great job looks great.
diodes GUI 27 8,463 Feb-21-2022, 11:15 AM
    Thread: help needed running a simple function in pyqt5
Post: RE: help needed running a simple function in pyqt5

Here is the final code on the Ultimate Roulette picker if anyone is interested import random as rnd import sys from PyQt5.QtWidgets import (QMainWindow, QApplication, QWidget, QPushButton, QGridLayou...
diodes GUI 27 8,463 Feb-17-2022, 06:48 PM
    Thread: help needed running a simple function in pyqt5
Post: RE: help needed running a simple function in pyqt5

thanks again menator I studied the code from all our work and got it going. hopefully, it helps me win at the OLG.ca casino :)
diodes GUI 27 8,463 Feb-17-2022, 06:32 PM
    Thread: help needed running a simple function in pyqt5
Post: RE: help needed running a simple function in pyqt5

I have been fine tunning the program for roulette and I could use a little help getting a second button to pick 3 numbers from 0 to 37 I have it almost working. and I added some more options for choo...
diodes GUI 27 8,463 Feb-17-2022, 06:17 PM
    Thread: help needed running a simple function in pyqt5
Post: RE: help needed running a simple function in pyqt5

Thank you. that does everything well. I learned a lot from this project.
diodes GUI 27 8,463 Feb-17-2022, 04:40 PM
    Thread: help needed running a simple function in pyqt5
Post: RE: help needed running a simple function in pyqt5

that is a good way to go, but I was wanting to get that into a GUI window, that I can later make executable. Not sure how to get the results to print in the listbox one after the other. And to have ...
diodes GUI 27 8,463 Feb-17-2022, 04:24 PM
    Thread: help needed running a simple function in pyqt5
Post: RE: help needed running a simple function in pyqt5

Thanks for all the help on this little program. I am now trying to adapt it to run this roulette code for playing odd or even and red or black. import random print('Bill does Odd or Even') print(...
diodes GUI 27 8,463 Feb-17-2022, 06:25 AM
    Thread: help needed running a simple function in pyqt5
Post: RE: help needed running a simple function in pyqt5

(Feb-16-2022, 10:30 PM)deanhystad Wrote: Very unlikely you made a virus. https://answers.microsoft.com/en-us/prot...e08a4d52d2 You cannot make an executable that runs on windows an Linux. You wou...
diodes GUI 27 8,463 Feb-16-2022, 11:06 PM
    Thread: help needed running a simple function in pyqt5
Post: RE: help needed running a simple function in pyqt5

(Feb-16-2022, 08:53 PM)menator01 Wrote: change entry = QLineEdit(................. to self.entry = QlineEdit(.................. we did it, my friend. or should I say you did it:) it works perfectl...
diodes GUI 27 8,463 Feb-16-2022, 10:17 PM
    Thread: help needed running a simple function in pyqt5
Post: RE: help needed running a simple function in pyqt5

Now that I have a variable numbers and spots quick picker, I have been trying to get it into a variable number of spots but with numbers only from the range of 0 to 9. for lotto's like the pick 2, pi...
diodes GUI 27 8,463 Feb-16-2022, 07:57 PM
    Thread: help needed running a simple function in pyqt5
Post: RE: help needed running a simple function in pyqt5

That works perfectly. Exactly what I was trying to accomplish. I definitely learned a bunch. If I win the lotto with this I will look you up for a tip :)
diodes GUI 27 8,463 Feb-15-2022, 06:31 PM
    Thread: help needed running a simple function in pyqt5
Post: RE: help needed running a simple function in pyqt5

ok that works great, I updated it a bit and almost got it perfect. import random as rnd import sys from PyQt5.QtWidgets import (QMainWindow, QApplication, QWidget, QPushButton, QGridLayout, QLabel, Q...
diodes GUI 27 8,463 Feb-15-2022, 05:02 PM
    Thread: help needed running a simple function in pyqt5
Post: RE: help needed running a simple function in pyqt5

(Feb-15-2022, 09:21 AM)menator01 Wrote: Here is an example of what you want I think. I did not do any kind of validation on what is being entered. text will probably crash it. import random as rnd ...
diodes GUI 27 8,463 Feb-15-2022, 04:07 PM
    Thread: help needed running a simple function in pyqt5
Post: RE: help needed running a simple function in pyqt5

Ok, I did some reading and I made the UI. However, I am still clueless on how to get the button to take variables x and y from my input fields and then display them in a text edit box. here is the b...
diodes GUI 27 8,463 Feb-15-2022, 12:37 AM
    Thread: help needed running a simple function in pyqt5
Post: RE: help needed running a simple function in pyqt5

I will follow the course and see what I can come up with, thanks for the help.
diodes GUI 27 8,463 Jan-30-2022, 07:54 PM
    Thread: help needed running a simple function in pyqt5
Post: help needed running a simple function in pyqt5

Hi I am new to python and would like to get a small function to accept 2 variables and then execute a small function in a pyqt5 window. I have read two books and still can't do it. Here is the code...
diodes GUI 27 8,463 Jan-30-2022, 02:06 AM

User Panel Messages

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