Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #20139
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; '"current': 0.09; 'interpreting': 0.09; 'module?': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:files': 0.09; 'tracing': 0.09; '36,': 0.16; '>on': 0.16; '>so,': 0.16; 'appreciated!': 0.16; 'bieber': 0.16; 'email addr:ix.netcom.com': 0.16; 'email name:wlfraed': 0.16; 'from:addr:ix.netcom.com': 0.16; 'from:addr:wlfraed': 0.16; 'from:name:dennis lee bieber': 0.16; 'message-id:@4ax.com': 0.16; 'received:wlfraed': 0.16; 'slashes': 0.16; 'url:netcom': 0.16; 'url:wlfraed': 0.16; 'wulfraed': 0.16; 'wrote:': 0.18; 'received:166': 0.18; 'this?': 0.19; 'url:home': 0.21; 'feb': 0.22; '(though': 0.23; 'path,': 0.23; 'suspect': 0.24; 'fix': 0.25; 'problem': 0.29; 'correct': 0.29; 'skip:> 30': 0.30; 'thu,': 0.32; 'does': 0.32; 'file': 0.34; 'header:X -Complaints-To:1': 0.34; 'lee': 0.34; 'rather': 0.34; 'root': 0.34; 'to:addr:python-list': 0.35; 'operating': 0.35; 'received:org': 0.36; 'issue': 0.37; 'skip:" 10': 0.37; 'component': 0.38; 'subject:from': 0.39; 'to:addr:python.org': 0.40; 'back': 0.60; 'forward': 0.63; 'dennis': 0.73; '-0800': 0.84; 'otten': 0.84 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
| Subject | Re: Reading files in from the proper directory |
| Date | Thu, 09 Feb 2012 23:05:29 -0500 |
| References | <f3f576e8-e608-4348-b6ee-fe775d9d1021@x19g2000yqh.googlegroups.com> <mailman.5510.1328641121.27778.python-list@python.org> <9bfb3e39-2bc6-4399-90cc-1c53aa06265e@h6g2000yqk.googlegroups.com> <mailman.5511.1328645799.27778.python-list@python.org> <10d15214-1fd8-4b80-8384-c0b291c6976d@h3g2000yqe.googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | 8bit |
| X-Gmane-NNTP-Posting-Host | mobile-166-147-101-114.mycingular.net |
| X-Newsreader | Forte Agent 6.00/32.1186 |
| X-No-Archive | YES |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.5638.1328847009.27778.python-list@python.org> (permalink) |
| Lines | 27 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1328847009 news.xs4all.nl 6884 [2001:888:2000:d::a6]:58361 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:20139 |
Show key headers only | View raw
On Thu, 9 Feb 2012 12:32:35 -0800 (PST), SMac2347@comcast.net wrote:
>On Feb 7, 3:16 pm, Peter Otten <__pete...@web.de> wrote:
>> or use forward slashes as directory separators.
>
Or use
os.path.join([list, of, path, parts])
and have the correct separator for whatever operating system (though it
does have a problem with a drive letter component -- that does need a
"\" to indicate the root of the drive rather than what the OS thinks of
as the drive's "current directory"
> File "C:/Documents and Settings/smacdon/My Documents/
>excel_merge_files_indirectory v2.py", line 36, in merge_xls
> merged_book.save(out_file)
<snip>
>
>If I am interpreting correctly, am I to understand that it would
>appear the issue is tracing back to functions in the xlwt module? If
>so, what can I do to fix this? Again, any and all help is appreciated!
Where does out_file come from? I suspect THAT is what is corrupt.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Reading files in from the proper directory SMac2347@comcast.net - 2012-02-07 10:14 -0800
Re: Reading files in from the proper directory Dave Angel <d@davea.name> - 2012-02-07 13:40 -0500
Re: Reading files in from the proper directory SMac2347@comcast.net - 2012-02-07 11:03 -0800
Re: Reading files in from the proper directory Peter Otten <__peter__@web.de> - 2012-02-07 19:59 +0100
Re: Reading files in from the proper directory SMac2347@comcast.net - 2012-02-07 11:13 -0800
Re: Reading files in from the proper directory John Gordon <gordon@panix.com> - 2012-02-07 20:00 +0000
Re: Reading files in from the proper directory Peter Otten <__peter__@web.de> - 2012-02-07 21:16 +0100
Re: Reading files in from the proper directory SMac2347@comcast.net - 2012-02-09 12:32 -0800
Re: Reading files in from the proper directory Peter Otten <__peter__@web.de> - 2012-02-09 22:07 +0100
Re: Reading files in from the proper directory Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-02-09 23:05 -0500
Re: Reading files in from the proper directory SMac2347@comcast.net - 2012-02-09 12:36 -0800
Re: Reading files in from the proper directory John Gordon <gordon@panix.com> - 2012-02-07 19:46 +0000
csiph-web