Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: list box select event triggers when selecting another listbox
Post: list box select event triggers when selecting anot...
Hi !
I have 2 list box.
i have attached event with both list box.
but after 1st click in both list box, when i click any list box both event triggered.
can some one have any idea
here is event co... |
|
Roshan |
GUI |
1 |
4,399 |
May-08-2021, 04:20 PM |
|
|
Thread: generating 32 bit exe file
Post: generating 32 bit exe file
Hi
My system is 64 bit ,
i created exe file successfully & working.
Now how can i create on 64 bit system exe file for 32 bit ?
Need Help.
Thanks |
|
Roshan |
General Coding Help |
1 |
1,907 |
Apr-02-2021, 09:48 AM |
|
|
Thread: python to exe running problem
Post: RE: python to exe running problem
Dear Sir,
Thanks for help.
Now my exe file running perfectly.
**smile** |
|
Roshan |
General Coding Help |
2 |
5,602 |
Mar-30-2021, 08:59 AM |
|
|
Thread: python to exe running problem
Post: python to exe running problem
Hi,
I am write program on pycharm & it is running perfectly.
Now i tried to create exe file using pyinstaller.
exe file created but not running.
how to solve this issue.
Here is the output of... |
|
Roshan |
General Coding Help |
2 |
5,602 |
Mar-30-2021, 05:34 AM |
|
|
Thread: How to solve AttributeError
Post: RE: How to solve AttributeError
Here is the code.
I have removed my other logging code & now error changes to
Output:C:\Python\python.exe C:/Users/ROSHAN/PycharmProjects/untitled/serialPortMarch.py
Error reading COM port: <c... |
|
Roshan |
General Coding Help |
5 |
2,546 |
Mar-28-2021, 07:43 AM |
|
|
Thread: How to solve AttributeError
Post: RE: How to solve AttributeError
Output:C:\Users\ROSHAN\AppData\Local\Programs\Python\Python35-32\python.exe "D:/Python/python serial/serialPortMarch2021.py"
Error reading COM port: <class 'AttributeError'>
Error reading COM p... |
|
Roshan |
General Coding Help |
5 |
2,546 |
Mar-27-2021, 11:29 AM |
|
|
Thread: How to solve AttributeError
Post: How to solve AttributeError
I am using line chart in tkinter.
First i create button event, then generate number graph & updating graph & working fine.
Now change program & receiving serial data in event & updat... |
|
Roshan |
General Coding Help |
5 |
2,546 |
Mar-27-2021, 07:08 AM |
|
|
Thread: Text Button - How Do I Reduce The Margin?
Post: RE: Text Button - How Do I Reduce The Margin?
use
width = 10use this where is creating button.
choose numeric value as u need.
i hope this help. |
|
Roshan |
GUI |
6 |
11,293 |
Apr-25-2020, 12:02 PM |
|
|
Thread: how to update label text from list
Post: RE: how to update label text from list
(Apr-22-2020, 04:14 PM)deanhystad Wrote: I would debug with a bunch of print statements to understand exactly what is going on.
print('spData is a', type(spData), 'size =', len(spData))
# Since sp... |
|
Roshan |
GUI |
8 |
5,475 |
Apr-25-2020, 08:04 AM |
|
|
Thread: how to update label text from list
Post: RE: how to update label text from list
Yes sir
right according to print this works ok.
but when i print it on button then result is like this
# when i excute this program
self.dLabel1.configure(text = f" button clicked times {spData[1:2... |
|
Roshan |
GUI |
8 |
5,475 |
Apr-22-2020, 03:56 PM |
|
|
Thread: Progressbar value update issue
Post: RE: Progressbar value update issue
myData = self.arduinoSerialData.readline()
serData = myData.decode('ascii')
# serData = myData.decode("utf-8")
print(serData)
if len(serData) > 1:
spData... |
|
Roshan |
GUI |
7 |
3,359 |
Apr-22-2020, 03:36 PM |
|
|
Thread: tkinter
Post: RE: tkinter
if you are receiving values from sensor then you can change led color according to values.
mostly u can receive sensor data from serial port. |
|
Roshan |
GUI |
2 |
1,613 |
Apr-22-2020, 02:05 PM |
|
|
Thread: how to update label text from list
Post: RE: how to update label text from list
Sir,
error is
IndexError: list index out of range
|
|
Roshan |
GUI |
8 |
5,475 |
Apr-22-2020, 02:00 PM |
|
|
Thread: Progressbar value update issue
Post: RE: Progressbar value update issue
my list
['#', '336', '908', '120', '863', '789', '3', '\n']but when i tried to print list like this, i got error
print(spData[2]) #print 2nd element of list
print(spData[3]) #print 3rd element of lis... |
|
Roshan |
GUI |
7 |
3,359 |
Apr-22-2020, 01:56 PM |
|
|
Thread: how to update label text from list
Post: RE: how to update label text from list
yes, spData[1:2] is elemnt of list items.
& my list is like this
['#', '336', '908', '120', '863', '789', '3', '\n'] |
|
Roshan |
GUI |
8 |
5,475 |
Apr-22-2020, 01:30 PM |
|
|
Thread: Progressbar value update issue
Post: RE: Progressbar value update issue
progressbar is widget provided by tkinter.
spData[1:2] is element of list. |
|
Roshan |
GUI |
7 |
3,359 |
Apr-22-2020, 01:14 PM |
|
|
Thread: Progressbar value update issue
Post: Progressbar value update issue
Hi
i have one list .
I want to update Progressbar from list elements.
# this code works
self.prograssBar1["value"] = 12#but this code does not works,
#updating value from list
self.prograssBar1["va... |
|
Roshan |
GUI |
7 |
3,359 |
Apr-22-2020, 08:01 AM |
|
|
Thread: how to update label text from list
Post: how to update label text from list
Hi
I want to update 5 different label value from list items.
I am following below code.
self.dLabel1.configure(text = f"button clicked times {spData[1:2]}")my problem is when label update it also a... |
|
Roshan |
GUI |
8 |
5,475 |
Apr-22-2020, 07:26 AM |
|
|
Thread: Need Help to understand class
Post: RE: Need Help to understand class
Thanks to point problem. That was int .
I change it to string at then time of printing.
def myfunc(self):
print("Hello my name is " + self.name)
print("My age is " + str(self.age))
Thank... |
|
Roshan |
General Coding Help |
5 |
3,711 |
Jun-05-2018, 09:05 AM |
|
|
Thread: Need Help to understand class
Post: Need Help to understand class
I write this code & run perfect
class Person:
def __init__(self, name, age):
self.name = name
self.age = age
def myfunc(self):
print("Hello my name is " + self.name)
p1 = Person... |
|
Roshan |
General Coding Help |
5 |
3,711 |
Jun-05-2018, 08:50 AM |