There is Python Server Pages which uses <% ... %> to delimit Python code, but is otherwise very similar to PHP. Using this gives you all of the Python language & standard lib so it satisfies most of the requirements.
However, it should be noted that the PHP nature of mixing logic and templates is (mostly) an antipattern.
A language where whitespace is syntactically significant, used in HTML tags?
<% if condition: %><% action1 %><% action2 %>
How do I know whether action2 is also part of the if block or not; and how do I write the other version?
However, it should be noted that the PHP nature of mixing logic and templates is (mostly) an antipattern.
Yes, but beginners want it, because it has the smallest overhead for trivial projects. Later, when they learn more, they can separate the logic and templates. Here is a code that leads to antipatterns, but...
If it's worth saying, but not worth its own post, even in Discussion, it goes here.