[Tutor] get columns from txt file

Prasad, Ramit ramit.prasad at jpmorgan.com
Thu Jul 12 23:28:40 CEST 2012


> >> csv_out=csv.writer(open('out14.csv', 'wb'), dialect='excel')
> >
> > The default dialect is excel but it is important to also open
> > the file using Excel as it may default to a text editor.
> 
> In the context we're talking about here this makes no sense to me so can
> you please explain.
>

Sorry, I think it was something that the OP said in a different email
that led me to believe that maybe she was not opening it in excel.
So I was pointing out that dialect defaults to excel to Don (although, 
explicitly setting it never hurt), and then making sure Susana
opened the resulting file in excel.

Not sure what I was thinking looking back...

Ramit

--
This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.  


More information about the Tutor mailing list