Writing to multiple excel worksheets

Tommy Nordgren tommy.nordgren at comhem.se
Tue Sep 18 18:49:23 CEST 2007

On 17 sep 2007, at 23.00, SPJ wrote:

> Hi,
> I have a list which I need to write to excel worksheet. The list is  
> like:
> data =  
> ['IP1','21','ftp','\n','IP1','22','ssh','\n','IP2','22','ssh','\n','IP 
> 2','23','telnet','\n']
> Now the task is to create a workbook with tabbed sheet for each of  
> the service's in the list i.e. tabs for ftp, ssh, telnet etc. The  
> data needs to be written in the corresponding sheets.
> What is the best way to achieve this?
> I couldn't find much help on the internet nor in the earlier  
> threads. Please help.
> Thanks,
	Excel files are in a binary and proprietary format. You can however  
tab-separated text files, which Excel can import.
What is a woman that you forsake her, and the hearth fire and the  
home acre,
to go with the old grey Widow Maker.  --Kipling, harp song of the  
Dane women
Tommy Nordgren
tommy.nordgren at comhem.se

More information about the Python-list mailing list