Python Forum
new window in separate thread - flask website
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
new window in separate thread - flask website
#4
If you want a link to open in a new page then you need to change the HTML in your Flask function.

<a href = "">Normal Link </a>
<a href = "" target="_blank">This will open the link on a new tab</a>
while dad_has_cigs == True:
    happiness = True
    if dad_has_cigs == False:
    print("Dad come home!")
    happiness = not happiness
    break
Reply


Messages In This Thread
RE: new window in separate thread - flask website - by jamesaarr - Sep-20-2021, 08:29 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  My flask website not working properly Aggam 2 2,207 Nov-03-2020, 09:53 AM
Last Post: Aggam
  Create .exe file for Python flask website. vintysaw 4 19,573 Nov-18-2019, 07:56 AM
Last Post: tonycstech
  sqlite objects in thread can only be used in the same thread darktitan 5 15,540 Oct-24-2019, 05:00 PM
Last Post: darktitan

Forum Jump:

User Panel Messages

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