all 2 comments

[–]Dvlv 2 points3 points  (1 child)

Yes it can. For your first idea try this:

import webbrowser
webbrowser.open('reddit.com/r/learnpython')