Hyperlink to a file using python

Pratik Khemka pratikkhemka at hotmail.com
Wed Oct 13 18:13:02 EDT 2010


This file is present on my hardrive..This file is present in the same folder in which the python code file is present...so http: wont work..

 
> To: python-list at python.org
> From: emile at fenx.com
> Subject: Re: Hyperlink to a file using python
> Date: Wed, 13 Oct 2010 14:19:36 -0700
> 
> On 10/13/2010 1:57 PM Pratik Khemka said...
> >
> > 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)
> 
> 
> Hmmm... my excel does that automagically when I
> type "http://xx.yy.zz/word.html into a cell.
> 
> What happens when you use "http://a.b.c/abcd.html"?
> 
> Emile
> 
> -- 
> http://mail.python.org/mailman/listinfo/python-list
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20101014/bca1e8e0/attachment.html>


More information about the Python-list mailing list