How to create a clickable text at terminal or alternative solutions with python? -


i creating simple terminal rss reader python.

the following how feeds displayed @ terminal. trying to looking solution trigger python function,which added url pocket account.

for web dev,it can done anchor links or buttons.

is there solutions interact terminal such keyboard input,mouse clicking?

$ python feedparser.py -w ph  title: product hunt — best new products, every day url: http://www.producthunt.com ------------------------------------- golden goose — scramble eggs in shell http://www.producthunt.com/l/68cf97c80c/339 [pocket]  lava mae — mobile showers homeless http://www.producthunt.com/l/275ff76783/339 [pocket]  androidify — create & share android characters http://www.producthunt.com/l/680168e4e2/339 [pocket]  empty states — delight users designing empty states http://www.producthunt.com/l/b02fc043d7/339 [pocket] 

code: https://github.com/aungthurhahein/simple-terminal-rss-reader

i depends lot on terminal , operating system using .

for example in bash session on ubuntu can type echo http://www.stackoverflow.com , terminal allow me click on link . when try on osx terminal , need use various key combinations + mouse click open url .

i doubt windows command line has support user interaction prompt . i'd there no implementation dependent way add clickable url's available terminals/operating systems .


Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -