Hyperlink to a file using python

Pratik Khemka pratikkhemka at hotmail.com
Wed Oct 13 16:57:26 EDT 2010


I want to create a hyperlink in my excel sheet using python such that when you click on that link (which is a file name (html file)), the file automatically opens. This file is present in the same folder in which the python code file is present.

I am using xlwt module

 

 

link=  'abcd.html'
sheet.write(x, y, link, format_style) 

 

x: row y :col 

 

Thanks,

Pratik
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20101014/65d5e32b/attachment.html>


More information about the Python-list mailing list