python serial read and write in in format
Dear all,
I am using python 2.5 and pyserial 2.5 i wanna help in writing simple code in python where i wanna separate string i am getting string in this format --------- time and date:11/3/2013 11:10:5 dir:fwd actual position : 30 desire position :28 --------- i wanna write this in to excel sheet for every 10 min such away that in column c1:time and date c2: dir, c3: actual position c4: desire position in row i could able to write time,dir,AP,DP one after the other. how can i write in to excel sheet i have written below code to write in to text file. Code:
import serial |
Below code worked fine. Now can some one tell me how to put these seprated data into indivual columns for every 10 minute in Excel sheet. below i have written it for text one after the other
Code:
import serial |
All times are GMT -5. The time now is 01:34 PM. |