OK - I am almost at the finish line.
When I run Python in interactive mode I get following - which is OK:

>>> import os
>>> os.uname()
('Linux', 'weather-raspi', '4.4.13-v7+', '#894 SMP Mon Jun 13 13:13:27 BST 
2016', 'armv7l')
>>> os.uname()[1]
'weather-raspi'
>>> 
but when I include $os.uname()[1] in a page it will not work ... it gives 
('Linux', 'weather-raspi', '4.4.13-v7+', '#894 SMP Mon Jun 13 13:13:27 BST 
2016', 'armv7l')[1]

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to