Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: MCU reboots after opening Serial port when ran from Raspberry PI
Post: RE: MCU reboots after opening Serial port when ran...
(Mar-15-2024, 10:13 AM)DeaD_EyE Wrote: (Mar-15-2024, 09:25 AM)zazas321 Wrote: However, the device that I am connecting to reboots. When I try to do this via my Windows machine, it does not reboot.... |
|
zazas321 |
General Coding Help |
2 |
185 |
Mar-15-2024, 12:22 PM |
|
|
Thread: MCU reboots after opening Serial port when ran from Raspberry PI
Post: MCU reboots after opening Serial port when ran fro...
Hello. I am running the following via the Raspberry PI :
serialPort = serial.Serial()
serialPort.baudrate = 115200
serialPort.bytesize = serial.EIGHTBITS
serialPort.timeout = 1
ser... |
|
zazas321 |
General Coding Help |
2 |
185 |
Mar-15-2024, 09:25 AM |
|
|
Thread: Python script with local libraries
Post: Python script with local libraries
Hello. I would like to get advise on how to properly create and manage a project with local libraries. For example, I am creating a script that uses mysql.connector library that I have downloaded usin... |
|
zazas321 |
General Coding Help |
0 |
937 |
Jul-05-2022, 04:55 AM |
|
|
Thread: Python MYSQL connection does not work after 1h idle
Post: RE: Python MYSQL connection does not work after 1h...
(Oct-05-2021, 03:11 PM)tomtom Wrote: I used to have similar problem with mysql database. when I used with a windows server, I search and search but didn't find a solution on it, so what I did was to... |
|
zazas321 |
General Coding Help |
9 |
6,523 |
Oct-06-2021, 05:21 AM |
|
|
Thread: Python MYSQL connection does not work after 1h idle
Post: RE: Python MYSQL connection does not work after 1h...
(Oct-05-2021, 11:04 AM)Larz60+ Wrote: It's more likely that the problem is with MySQL and not with python.
If it were python, we would have heard it from more folks but as far as I know, have not.
... |
|
zazas321 |
General Coding Help |
9 |
6,523 |
Oct-06-2021, 05:11 AM |
|
|
Thread: Python MYSQL connection does not work after 1h idle
Post: RE: Python MYSQL connection does not work after 1h...
Still need help regarding this issue |
|
zazas321 |
General Coding Help |
9 |
6,523 |
Oct-05-2021, 04:06 AM |
|
|
Thread: Python MYSQL connection does not work after 1h idle
Post: Python MYSQL connection does not work after 1h idl...
Hello. I have created MYSQL db on UBUNTU server. I have my Python script running which is connecting to that MYSQL db.
mysql-connector-pythonI connect to my db using the following command:
myConnectio... |
|
zazas321 |
General Coding Help |
9 |
6,523 |
Sep-30-2021, 04:55 AM |
|
|
Thread: tkinter change the text of the checkbox
Post: RE: tkinter change the text of the checkbox
I have found how to do it and its quite easy:
checkbox[x].config(text="EMPTY") |
|
zazas321 |
GUI |
1 |
3,725 |
Sep-17-2021, 06:19 AM |
|
|
Thread: tkinter change the text of the checkbox
Post: tkinter change the text of the checkbox
Hello. I would like to know whether it is possible to change the text of the checkbox in the middle of the program. Please see the following code:
import tkinter as tk
active_devices = ["device1","... |
|
zazas321 |
GUI |
1 |
3,725 |
Sep-17-2021, 05:14 AM |
|
|
Thread: Program stuck at mysql.connector.connect
Post: Program stuck at mysql.connector.connect
Hello. I have Raspberry PI 4 and have been using MYSQL on it for a while without any issues. I have decided to dedicate a standalone linux server just to handle my services and seperate them from my R... |
|
zazas321 |
General Coding Help |
1 |
2,018 |
Jul-29-2021, 10:49 AM |
|
|
Thread: Program stuck at mysql.connector.connect
Post: Program stuck at mysql.connector.connect but works...
Hello. I have Raspberry PI 4 and have been using MYSQL on it for a while without any issues. I have decided to dedicate a standalone linux server just to handle my services and seperate them from my R... |
|
zazas321 |
General Coding Help |
1 |
2,018 |
Jul-29-2021, 08:55 AM |
|
|
Thread: How to redraw an existing image to a different image TkInter
Post: RE: How to redraw an existing image to a different...
(Jul-08-2021, 11:17 AM)Larz60+ Wrote: Your solution is not correct.
I think self.tick_img.config(img_red_tick)
or self.tick_img.config(img_green_tick)
is the proper way.
you can keep track of ... |
|
zazas321 |
GUI |
6 |
5,689 |
Jul-08-2021, 11:25 AM |
|
|
Thread: How to redraw an existing image to a different image TkInter
Post: How to redraw an existing image to a different ima...
Hello. I have a tkinter application running and I am trying to come up with a solution. I will explain the scenario briefly:
On my tkinter application, there is a "toggle" button that toggles the sen... |
|
zazas321 |
GUI |
6 |
5,689 |
Jul-08-2021, 10:51 AM |
|
|
Thread: Installing Python3 on MacOS using brew
Post: RE: Installing Python3 on MacOS using brew
I used bash. And I didint do any setup for that. I have simply followed the instructions from the website posted installing Python using brew. The initial problem was probably due to my old Python ins... |
|
zazas321 |
General Coding Help |
5 |
5,013 |
May-28-2021, 04:19 AM |
|
|
Thread: Installing Python3 on MacOS using brew
Post: RE: Installing Python3 on MacOS using brew
I have managed to move forward with my issue by following the suggestions in this post:
https://stackoverflow.com/questions/3600...stallation
Now I am able to get the information by calling python -... |
|
zazas321 |
General Coding Help |
5 |
5,013 |
May-27-2021, 11:02 AM |
|
|
Thread: Installing Python3 on MacOS using brew
Post: Installing Python3 on MacOS using brew
Hello, I am trying to install python3
I have followed this guide: https://programwithus.com/learn/python/i...ython3-mac
After using the following command:
brew install python3The result is as followi... |
|
zazas321 |
General Coding Help |
5 |
5,013 |
May-27-2021, 10:53 AM |
|
|
Thread: TKinter restarting the mainloop when button pressed
Post: RE: TKinter restarting the mainloop when button pr...
The task is quite complex and is based on pick to light idea. The scans a barcode and starts a task. I then need to check various states of remote/devices, read database and etc.. The started task is ... |
|
zazas321 |
GUI |
7 |
15,967 |
Jan-26-2021, 06:38 AM |
|
|
Thread: TKinter restarting the mainloop when button pressed
Post: RE: TKinter restarting the mainloop when button pr...
I have found a way how to go back to idle state with the following code:
import tkinter as tk
from tkinter import Button,Entry,Canvas,Label,ttk
import concurrent.futures
class Application(tk.Fram... |
|
zazas321 |
GUI |
7 |
15,967 |
Jan-25-2021, 11:01 AM |
|
|
Thread: TKinter restarting the mainloop when button pressed
Post: RE: TKinter restarting the mainloop when button pr...
(Jan-25-2021, 07:13 AM)deanhystad Wrote: A GUI application runs all the time, though most of the time it is doing nothing but waiting for the user to click a mouse button or press a key. The window... |
|
zazas321 |
GUI |
7 |
15,967 |
Jan-25-2021, 07:59 AM |
|
|
Thread: TKinter restarting the mainloop when button pressed
Post: RE: TKinter restarting the mainloop when button pr...
(Jan-22-2021, 12:31 PM)deanhystad Wrote: This sounds like a bad idea. What are you trying to achieve?
Why is that a bad idea? I simply need to be able to stop an operation whilst is running. I am d... |
|
zazas321 |
GUI |
7 |
15,967 |
Jan-25-2021, 05:31 AM |