Python Forum
display multiple sensors on webpage python flask jinja
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
display multiple sensors on webpage python flask jinja
#4
Thank you so much for your replies stullis
Quote:On line 18, you're missing a closing parenthesis. That's causing the syntax error.

Also, the comma at the end of line 17 should not be there.
this removes the syntax error, (it gave me another but I was able to remove that as well) Now it is the jinja template that does not display the data
@snippsnap Thank you so much for your reply, in my badly worded question I need to be able to "read_sensor" each value of the dictionary and then display this, I have not had time to digest your reply but I think I can use your html code to display the readings; I will get back this evening with more information. But thank you both for HELPING ME!!!!!!!!!! It is so kind of you!!
regards
Paul
Reply


Messages In This Thread
RE: display multiple sensors on webpage python flask jinja - by pascale - Jan-28-2019, 09:05 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Solved] Browser won't parse text from yaml loaded into Jinja SpongeB0B 1 1,034 Jul-07-2022, 09:37 PM
Last Post: SpongeB0B
Question Accessing a value of a dictionary with jinja.... SpongeB0B 2 10,723 Aug-06-2021, 09:05 AM
Last Post: ndc85430
  Help using Flask for a countdown on webpage ZenBuddhism 1 2,284 Feb-05-2021, 03:35 PM
Last Post: snippsat
  Using range slider in flask webpage to use in python KimPet 2 7,757 Jan-23-2021, 11:58 PM
Last Post: snippsat
  Flask, Display a picture outisde the static SpongeB0B 6 15,868 Aug-29-2020, 05:15 PM
Last Post: nilamo
  python 3.7 on windows using flask and flask-sqlalchemy. Alpy 2 4,047 Aug-12-2020, 07:24 PM
Last Post: Alpy
  How to display XML tree structure with Python? sonicblind 13 42,438 Aug-12-2020, 02:05 PM
Last Post: mreshko
  Jinja sort values from request.form SpongeB0B 2 2,299 Jul-26-2020, 07:41 AM
Last Post: SpongeB0B
  how to create dynamic arguments to be passed in jinja template in url_for function? experimental 1 2,826 May-01-2020, 05:50 PM
Last Post: Larz60+
  Python values on a WebPage Petrouil 1 1,954 Apr-01-2020, 05:08 PM
Last Post: ndc85430

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020