I have a one-line text file containing 4 characters. It changes from time
to time and I want to read it from Cheetah/Python 3. The code below
doesn't work, and I am wondering if I am going down the rabbit hole trying
to get these 4 characters into my eventual index .html for upload:
#with open('/path_to/length.txt','r') as file:
#set $length = file.read()
#$length
If there isn't a quick fix, I can try another approach. I *seems* like it
should be simple, but doesn't everything? Am I missing the obvious?
- Paul VE1DX
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/0e1329d8-2228-4f98-a9e6-f69205277404n%40googlegroups.com.