Re: csv to xls using python 2.1.3

2008-01-24 Thread LizzyLiz
On Jan 23, 5:15 pm, Larry Bates <[EMAIL PROTECTED]> wrote:
> FYI - Excel can read .CSV files directly and convert them to .XLS.
>
> -Larry

Thanks Larry

The customer wants 2 buttons - one for csv, one for xls.

Kind regards
Liz
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: csv to xls using python 2.1.3

2008-01-24 Thread LizzyLiz
Unfortunately we have to stick with python 2.1.3 for this project.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: csv to xls using python 2.1.3

2008-01-23 Thread John Machin
On Jan 24, 1:58 am, LizzyLiz <[EMAIL PROTECTED]> wrote:
> Perfect!  Thanks :-)
>
> LizzyLiz

You have an interesting notion of perfection, which may change after
some experience with the proposed solution.

Note that sticking with Python 2.1 precludes your using the Python csv
module as you first proposed, and is shutting you out of an enormous
lot of new functionality. Are you inextricably bound to 2.1?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: csv to xls using python 2.1.3

2008-01-23 Thread Larry Bates
LizzyLiz wrote:
> Hi
> 
> I need to convert a .csv file to .xls file using python 2.1.3 which
> means I can't use pyExcelerator!  Does anyone know how I can do this?
> 
> Many thanks
> LizzyLiz

FYI - Excel can read .CSV files directly and convert them to .XLS.

-Larry
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: csv to xls using python 2.1.3

2008-01-23 Thread LizzyLiz
Perfect!  Thanks :-)

LizzyLiz
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: csv to xls using python 2.1.3

2008-01-23 Thread Tim Golden
LizzyLiz wrote:
> Hi
> 
> I need to convert a .csv file to .xls file using python 2.1.3 which
> means I can't use pyExcelerator!  Does anyone know how I can do this?
> 
> Many thanks
> LizzyLiz

Use win32com.client to start Excel, tell it to .Open the .csv
file and then tell it to .SaveAs an Excel workbook.

TJG
-- 
http://mail.python.org/mailman/listinfo/python-list


csv to xls using python 2.1.3

2008-01-23 Thread LizzyLiz
Hi

I need to convert a .csv file to .xls file using python 2.1.3 which
means I can't use pyExcelerator!  Does anyone know how I can do this?

Many thanks
LizzyLiz
-- 
http://mail.python.org/mailman/listinfo/python-list