Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Function to Continuasly monitor serial port and control other functions
Post: RE: Function to Continuasly monitor serial port an...

(Mar-03-2018, 10:16 PM)ricardons Wrote: Function1() acquires sensor data and show it on lcd Function2() is the same as 1 but also writes the data to a text file So threading? Yes, threading since y...
marsokod General Coding Help 10 8,124 Mar-03-2018, 11:08 PM
    Thread: pandas convert date/time to week
Post: RE: pandas convert date/time to week

Can you give us the result of the following? for i in data['DATECREATED']]: print(type(i))My assumption is that you have a datetime.date in some of your rows, and you can only use the .dt.week wi...
marsokod Data Science 3 6,671 Mar-03-2018, 10:15 PM
    Thread: Converting handwriting into code that can be recreated
Post: RE: Converting handwriting into code that can be r...

You can separate your problem in two parts: the GUI and the transmission between the two devices. I cannot help you much for the first one, and for the second part, can you detail a little bit the se...
marsokod General Coding Help 2 2,608 Mar-03-2018, 09:57 PM
    Thread: 20 x 4 Line 2 scrolling text for LCD-I2C Display
Post: RE: 20 x 4 Line 2 scrolling text for LCD-I2C Displ...

How do you expect to get the text you want to display? Is it written in a file, or do want to generate automatically in your code?
marsokod General Coding Help 2 4,762 Mar-03-2018, 09:46 PM
    Thread: Architecture for script executor
Post: Architecture for script executor

I am working on a tool to execute python scripts for hardware test automation. I have a current workflow but that I feel that it is the wrong way of doing things. My current tasks involve a flask serv...
marsokod General Coding Help 0 2,148 Mar-03-2018, 09:42 PM
    Thread: Function to Continuasly monitor serial port and control other functions
Post: RE: Function to Continuasly monitor serial port an...

You may want to use a thread or a process depending on what your function1 and function2 are doing. You can either start them manually, use a library like APScheduler to have a pool of threads/proces...
marsokod General Coding Help 10 8,124 Mar-03-2018, 09:33 PM

User Panel Messages

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