New submission from Felix Kaiser:
http.server: on startup, show host/port as URL
Old:
% python3 -m http.server
Serving HTTP on 0.0.0.0 port 8000 ...
New:
% ./python -m http.server
Serving http://0.0.0.0:8000/ ...
This is useful because (modern) terminals will auto-detect URLs and make
Felix Kaiser added the comment:
I'm not sure - that'd be redundant, and I find it harder to read. It also
breaks for badly configured terminals where (/) are part of the
select-by-word character set (but thats a very minor issue -- users with
parentheses in the set will probably be used