Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Python presentation materials
Post: Python presentation materials

Hi Team, I am teacher of middle school we have decided to teach python for our school students from grade 8 onwards it would be grate if some one can provide us very good presentation ( PowerPoint )m...
PA3040 News and Discussions 2 897 Oct-15-2022, 07:18 AM
    Thread: Serial port Auto detection GUI Tour
Post: Serial port Auto detection GUI Tour

Dear All I have decided to start a education lesson for those who come to serial port and Serial Port GUI like auto port detection while learning my self This is step by step tour without hard coding...
PA3040 GUI 0 3,993 Aug-31-2020, 07:22 AM
    Thread: Put Serial data to list
Post: RE: Put Serial data to list

(Aug-30-2020, 02:43 PM)deanhystad Wrote: Serial.readline waits for a newline character ('\n'). Since you did not specify a timeout value for serial.open, and your program does not wait forever, it ...
PA3040 General Coding Help 5 6,495 Aug-31-2020, 05:04 AM
    Thread: Put Serial data to list
Post: RE: Put Serial data to list

Dear DeaD Grate thanks for the detailed reply My posted code with this line values = str(arduino_data[0:len(arduino_data)].decode("utf-8"))I just add -2 to the (arduino_data)-2 now it is working ...
PA3040 General Coding Help 5 6,495 Aug-30-2020, 01:03 PM
    Thread: Put Serial data to list
Post: Put Serial data to list

The value send from arduino is 10x12 the data coming to the python slell is b'10x12\r\n' Dear I need to decode the carriage return from the data coming from Arduino Serial port . So I decode it There...
PA3040 General Coding Help 5 6,495 Aug-29-2020, 08:18 AM
    Thread: Entry Widget issue
Post: RE: Entry Widget issue

Hi Thanks for the reply This is the working code import serial from tkinter import * from time import sleep values = [] root = Tk() root.geometry('600x200') cnt=0 var = StringVar() serialArduin...
PA3040 GUI 16 6,881 Mar-06-2020, 05:15 AM
    Thread: Entry Widget issue
Post: RE: Entry Widget issue

Thanks for continue support Yes it is working with text but the data coming from serial port does not update the widgets please see the modified program import serial from tkinter import * from ti...
PA3040 GUI 16 6,881 Mar-04-2020, 01:33 PM
    Thread: Entry Widget issue
Post: RE: Entry Widget issue

I did it sorry, It is still same import serial from tkinter import * import matplotlib.pyplot as plt from drawnow import * values = [] root = Tk() plt.ion() cnt=0 var = StringVar() serialArduino = s...
PA3040 GUI 16 6,881 Mar-03-2020, 05:34 AM
    Thread: Read Data from Serial port
Post: Read Data from Serial port

Hi Team Is Amy one who have code for read data from Serial port like Arduino and put the reading to the Entry Widgets or Text widget I have a code which can read data coming from Serial port and it...
PA3040 GUI 2 2,987 Feb-25-2020, 03:36 AM
    Thread: Entry Widget issue
Post: RE: Entry Widget issue

I will update
PA3040 GUI 16 6,881 Feb-21-2020, 05:33 AM
    Thread: Entry Widget issue
Post: RE: Entry Widget issue

Sorry I could not update the modified code import serial from tkinter import * import matplotlib.pyplot as plt from drawnow import * values = [] root = Tk() plt.ion() cnt=0 var = StringVar() serialA...
PA3040 GUI 16 6,881 Feb-20-2020, 05:54 PM
    Thread: Entry Widget issue
Post: RE: Entry Widget issue

Hi I tried using set but it does not work
PA3040 GUI 16 6,881 Feb-19-2020, 06:41 PM
    Thread: Entry Widget issue
Post: Entry Widget issue

Hi Team My requirement is read data from arduino through serial port and put it to the Entry widget Every this is successful but only issue is The Entry Widget does not open but I can oen it with co...
PA3040 GUI 16 6,881 Feb-17-2020, 07:15 PM
    Thread: Read Data from Serial Port
Post: RE: Read Data from Serial Port

Hi I found following Widgets l = s.strip()now n/t/ removed but following characters is showing with actual data data here is x00 b'' b'\x00' b''Please advice with code to remove above unwanted c...
PA3040 General Coding Help 3 3,200 Feb-16-2020, 04:54 AM
    Thread: Read Data from Serial Port
Post: RE: Read Data from Serial Port

Hi Larz Thanks for the reply and advise This is the characters printed out b'\x01' #Hear x01 is the real data b'\r'b #Unwanted control characters b'\n' #Unwanted control charact...
PA3040 General Coding Help 3 3,200 Feb-16-2020, 03:01 AM
    Thread: Read Data from Serial Port
Post: Read Data from Serial Port

Hi Team I am new to this forum I need to Read Data from Serial port and put data to Entry Widgest This is the code that I used It display unwanted text with actual text So please advice to remove ...
PA3040 General Coding Help 3 3,200 Feb-15-2020, 06:28 PM

User Panel Messages

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