« first day (1921 days earlier)      last day (1445 days later) » 

10:59 AM
d
 
1 message moved from Python
 
 
8 hours later…
6:43 PM
I have a doubt, i can´t return this functions ``` @app.route("/")
def Landing():
return render_template("Landing_Page.html")

def footer():
footerdb = open("footer.txt")
for i in range (3):
footerdb.write("footer.txt" + " by Carlos Teixeira")
footerdb.close()
return render_template("Landing_Page.html", footerdb) ```
@app.route("/index.html/")
def Home():
current_time = datetime.datetime.now()
return render_template("/index.html/", current_time=current_time)
Here´s the HTML: ``` <p class="footer">Current Date and Time: {{ current_time }}</p> <a target="blank"></a></p>
<p class="footer">footer()</p> <a target="blank"></a></p>
 
4 messages moved from Python
 
 
5 hours later…
11:14 PM
hello friends,
Short question:
How can I code in python a lot of while conditions in one shot way.
I tried this code but it doesn't work as expected.
`````
while Rechenart != ("+" or "-" or "*" or "/"):
print("Bitte Ihre Eingabe überprüfen")
Eingabe()
````
 
1 message moved from Python
 

« first day (1921 days earlier)      last day (1445 days later) »