08-22-2012, 05:03 AM | #1 |
Guru
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
|
Function call to open a web link
Is there a callable function in calibre which can launch the user's default web browser, given a string holding a web address?
|
08-22-2012, 06:29 AM | #2 |
creator of calibre
Posts: 43,778
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
from calibre.gui2 import open_url
from PyQt4.Qt import QUril open_url(QUrl.fromUserInput(url)) |
Advert | |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
adding link to web page | crossi | Library Management | 1 | 05-08-2012 05:06 AM |
Open book through Catalogue link | gertblij | Library Management | 13 | 10-14-2010 11:04 AM |
Call for comments: OPDS Catalogs 0.9 draft (open catalog standard ebooks) | zelda_pinwheel | News | 4 | 05-14-2010 01:02 PM |
Will the web searching function always be available for free? | raztaztwo | Amazon Kindle | 5 | 12-17-2007 09:31 AM |