Nov-09-2022, 07:36 AM
(Nov-09-2022, 03:24 AM)rob101 Wrote: You're welcome.
Yes, there's a better way: what you could do is to modify the code so that the firstreadline()
(which you know will be the column headers) is processed different from subsequentreadline()
s.
I'd also have the code setup the fonts size and the other attributes of the worksheet (which would include said column headers) before the data is appended. Maybe use a new custom function?.
You've done a nice job with this and I'm sure you can make the changes, but if you get stuck, post back and I'll do what I can to help.
i have one more question what if my first second row is =====, how to able to implement, like this:
[inline]
atettime Tput Tput2
====== ===== ========
20221018.165317.401555 0.000545 0.000545
20221018.165327.401723 0.001422 0.000545
[/inline]
i run it occur error:
ValueError: could not convert string to float: '===='