On Mon, Aug 13, 2012 at 1:58 PM, Alan Gauld <alan.ga...@btinternet.com> wrote: > On 13/08/12 16:01, leon zaat wrote: >> >> I wrote a program for creating a csv file. >> I am using pyton on windows. >> The output i get is not in ANSI. > > > Can you clarify what you mean by ANSI? According to Wikipedia: > I believe in this context the OP means ASCII. ASCII became an ANSI recognized standard many years ago > >> I imported locale and tried wb and w as type of writing. >> ofile=open(r'D:\bestanden\BAG\adrescoordinaten.csv', 'w(b)') > > > Locale will affect the display of the data in terms of fonts and such. > Is that what you are trying to control? > > Slightly confused. > > -- > Alan G > Author of the Learn to Program web site > http://www.alan-g.me.uk/ > > _______________________________________________ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor
-- Joel Goldstick _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor