webbrowser.open() should work. See
http://docs.python.org/library/webbrowser.html#webbrowser.open
> And more generally asked:
> I'm a windows user who is used to having a Run command for opening any
> program, website, folder or file.
> Is there something like that for python?
subprocess.call().
http://docs.python.org/library/subprocess.html#subprocess.call
--
╒═════════════════════════════════════════════════════════════════╕
│Luke Faraone ╭Debian / Ubuntu Developer╮│
│http://luke.faraone.cc ╰Sugar Labs, Systems Admin╯│
│PGP: 5189 2A7D 16D0 49BB 046B DC77 9732 5DD8 F9FD D506 │
╘═════════════════════════════════════════════════════════════════╛
import subprocess
text = clipboard.get_selection()
args = ['xdg-open', text]
subprocess.Popen(args)
Derek
Bohemian con man said the following on 09/24/2010 08:34 AM: