Hi George,

Try just writing the file with python - 

m1 = "test"
file = open('/var/tmp/file-test.txt' , 'w')
file.write(str(m1)+'\n')
file.close()

My first time with my python script I had a typo that I could not see for a 
couple of hours - I did learn a lot as I scoured the reference books for 
why it did not work.

Good luck.

Ralph


On Monday, April 8, 2019 at 3:28:51 AM UTC-7, George Alexander wrote:
>
> Hi Ralph,
>
> Unfortunately no, I had been running the script as root.
>
> Thanks anyway, I'll try find another way.
>
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to