Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #98900
| Path | csiph.com!au2pb.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Michiel Overtoom <motoom@xs4all.nl> |
| Newsgroups | comp.lang.python |
| Subject | Re: write data in Excel using python |
| Date | Mon, 16 Nov 2015 19:20:59 +0100 |
| Lines | 21 |
| Message-ID | <mailman.372.1447698129.16136.python-list@python.org> (permalink) |
| References | <3267f6a3-a047-4abf-80bf-8fdba3659223@googlegroups.com> |
| Mime-Version | 1.0 (Mac OS X Mail 8.2 \(2104\)) |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| X-Trace | news.uni-berlin.de qLoOC5DbGlpQX3PX0IeADQlSqS5TlbV8QBpTXfdGmCYQ== |
| Return-Path | <motoom@xs4all.nl> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.023 |
| X-Spam-Evidence | '*H*': 0.95; '*S*': 0.00; 'escape': 0.07; 'subject:using': 0.09; 'subject:python': 0.14; 'backslashes': 0.16; 'from:addr:xs4all.nl': 0.16; 'received:194.109': 0.16; 'received:194.109.24': 0.16; 'received:194.109.24.22': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'received:xs4all.nl': 0.16; 'wrote:': 0.16; 'cc:2**0': 0.20; 'file.': 0.22; 'cc:no real name:2**0': 0.22; 'cc:addr:gmail.com': 0.24; 'header:In-Reply-To:1': 0.24; "doesn't": 0.26; 'error': 0.27; 'raw': 0.27; 'skip:( 20': 0.28; 'strings,': 0.29; 'to:name :python-list': 0.30; 'nov': 0.35; 'skip:e 40': 0.35; 'to:addr :python-list': 0.36; 'subject:: ': 0.37; 'charset:us-ascii': 0.37; 'hi,': 0.38; 'skip:e 20': 0.39; 'to:addr:python.org': 0.40; 'some': 0.40; 'forget': 0.60; 'save': 0.60; 'header:Message-Id:1': 0.61; 'greetings,': 0.61; 'received:194': 0.61; 'email addr:gmail.com': 0.62; 'received:nl': 0.72; 'subject:write': 0.84 |
| In-Reply-To | <3267f6a3-a047-4abf-80bf-8fdba3659223@googlegroups.com> |
| X-Mailer | Apple Mail (2.2104) |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Xref | csiph.com comp.lang.python:98900 |
Show key headers only | View raw
Hi,
> On 16 Nov 2015, at 18:14, syedmwaliullah@gmail.com wrote:
> For some reason it doesn't save the file.
Did you get an error message?
> excel.activeWorkbook.SaveAs ("c:\TurnData.xlsx")
When you use backslashes in strings, don't forget to escape them:
> excel.activeWorkbook.SaveAs("c:\\TurnData.xlsx")
or use raw strings:
> excel.activeWorkbook.SaveAs(r"c:\TurnData.xlsx")
Greetings,
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
write data in Excel using python syedmwaliullah@gmail.com - 2015-11-16 09:14 -0800 Re: write data in Excel using python Michiel Overtoom <motoom@xs4all.nl> - 2015-11-16 19:20 +0100 Re: write data in Excel using python Ian Kelly <ian.g.kelly@gmail.com> - 2015-11-16 17:22 -0700 Re: write data in Excel using python tdsperth@gmail.com - 2015-11-16 17:43 -0800
csiph-web