Hello Everyone
Is it possible to add python code into page, so i can handle variables or what ever?
If yes please give me some examples
i've been trying but.....
Thank you
Python Question
Re: Python Question
You can add custom code via the HTML object or Page HTML
Note that we cannot teach how to write code.
This is not directly related to WWB.
If the code works somewhere else then it will also work in WWB.
Note that we cannot teach how to write code.
This is not directly related to WWB.
If the code works somewhere else then it will also work in WWB.
Re: Python Question
Dear Plessas,
I have been looking at using WWB with a Flask (Python) server and have managed to pass Python variables into the HTML code generated by WWB. In a WWB text field use {{variable name}} and Flask will fill in the data when rendering the page.
I must add I am just learning WWB having purchased it this week - it is brilliant!
Best regards, Colin
I have been looking at using WWB with a Flask (Python) server and have managed to pass Python variables into the HTML code generated by WWB. In a WWB text field use {{variable name}} and Flask will fill in the data when rendering the page.
I must add I am just learning WWB having purchased it this week - it is brilliant!
Best regards, Colin
Using WWB18 to make a site for the automation of a model using Python 3 and Flask (the Python server).
Re: Python Question
Pablo and Colin thank you Very Much.
I apologize for the delay of my response.
I was confizued learning Python and Flask.
I Aggree with Colin
This is the solution..
"have been looking at using WWB with a Flask (Python) server and have managed to pass Python variables into the HTML code generated by WWB. In a WWB text field use {{variable name}} and Flask will fill in the data when rendering the page."
Yes! thats the solution
Thank YOU!!!
I apologize for the delay of my response.
I was confizued learning Python and Flask.
I Aggree with Colin
This is the solution..
"have been looking at using WWB with a Flask (Python) server and have managed to pass Python variables into the HTML code generated by WWB. In a WWB text field use {{variable name}} and Flask will fill in the data when rendering the page."
Yes! thats the solution
Thank YOU!!!