Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #107735
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Stephen Hansen <me+python@ixokai.io> |
| Newsgroups | comp.lang.python |
| Subject | Re: Python path and append |
| Date | Wed, 27 Apr 2016 17:24:34 -0700 |
| Lines | 40 |
| Message-ID | <mailman.154.1461803078.32212.python-list@python.org> (permalink) |
| References | <smbdhb5kjje2oandna4vj5udku9gh1h9oa@4ax.com> <27nshbp40p1llr231dqm31p754tvurkb8i@4ax.com> <nfm22a$qms$1@reader1.panix.com> <pq4thb907ep4mknnali2rhqgao32jdsn5o@4ax.com> <571eca35$0$1607$c3e8da3$5496439d@news.astraweb.com> <pba0iblrf5v5kojjfbqsrpoobt50k2ggvq@4ax.com> <1461803074.3168509.591776529.05ACF2C5@webmail.messagingengine.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="ISO-8859-1" |
| Content-Transfer-Encoding | quoted-printable |
| X-Trace | news.uni-berlin.de jfWTnlC2rOeQZ0jswsndLgJxHCfI43otCGoJkqA7fbnw== |
| Return-Path | <me+python@ixokai.io> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'fixes': 0.05; 'that?': 0.05; 'assumed': 0.09; 'complaining': 0.09; 'oh,': 0.09; 'received:internal': 0.09; 'wrong,': 0.09; 'assume': 0.11; 'output': 0.13; 'question.': 0.13; '"getting': 0.16; '2016': 0.16; '>on': 0.16; '>that': 0.16; 'btw': 0.16; 'message-id:@webmail.messagingengine.com': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:io': 0.16; 'received:messagingengine.com': 0.16; 'received:psf.io': 0.16; 'theme.': 0.16; 'traceback.': 0.16; 'useless': 0.16; 'wrote:': 0.16; 'fix': 0.21; 'saying': 0.22; 'ok.': 0.22; 'stephen': 0.22; 'file.': 0.22; 'trying': 0.22; 'am,': 0.23; 'code.': 0.23; 'tried': 0.24; 'import': 0.24; 'header:In-Reply- To:1': 0.24; 'error': 0.27; 'question': 0.27; 'specifically': 0.28; 'actual': 0.28; 'it."': 0.29; 'that.': 0.30; 'error.': 0.31; "can't": 0.32; 'especially': 0.32; 'non': 0.32; 'are:': 0.32; 'help,': 0.32; 'getting': 0.33; 'problem': 0.33; 'common': 0.33; "d'aprano": 0.33; 'steven': 0.33; 'tue,': 0.34; 'file': 0.34; 'exist': 0.35; 'question,': 0.35; 'something': 0.35; 'problem.': 0.35; 'but': 0.36; "wasn't": 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'two': 0.37; 'expect': 0.37; 'say': 0.37; 'things': 0.38; 'doing': 0.38; "won't": 0.38; 'received:66': 0.38; 'wrong': 0.38; 'why': 0.39; "didn't": 0.39; 'to:addr:python.org': 0.40; 'behavior': 0.61; 'header:Message-Id:1': 0.61; 'show': 0.62; 'complete': 0.63; 'you.': 0.64; '26,': 0.72; 'obvious': 0.76; '+1000,': 0.84; 'dumb': 0.84; 'seymore4head': 0.84; 'yours': 0.89; 'drops': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha1; c=relaxed/relaxed; d=ixokai.io; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=zYMhjBXtpQQgUn34nh6Ge85p27o=; b=IV4asq ELZtrWUWs/Crjp6yaB+R09WObQZEEBXTU9q4whTmQP35JPmwiBqHgcOWF+4LCdNV x9RuA89DxdCT4r3esaG4ykqmIJ3m2TISuLr+h9v2PR1jfd11Jl76mV22mT1aul4K StWhL1zt0D3+bDbmWSluoIMir7Iy6Ema50FIU= |
| DKIM-Signature | v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=zYMhjBXtpQQgUn3 4nh6Ge85p27o=; b=a2pBXhQR3LE4yqoYegxBUSiwCYNlpa6rXmNimoywDqiQte4 I3ceuB2C08EC2oLkETB7pp68OEZQXldlXd5cMPQnSrgko272xFr6fHRvzTmzFFZ7 4EoncEI78HkketIR8+2xEY9RZ4Os3iRefTos3l2h0qnWPwZvLxF2qpfq/HTs= |
| X-Sasl-Enc | lMFj4gfsjzJEej9XDPmmx76WT3/JTzSeSBEwaN9X4fEa 1461803074 |
| X-Mailer | MessagingEngine.com Webmail Interface - ajax-f1265324 |
| In-Reply-To | <pba0iblrf5v5kojjfbqsrpoobt50k2ggvq@4ax.com> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.22 |
| 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> |
| X-Mailman-Original-Message-ID | <1461803074.3168509.591776529.05ACF2C5@webmail.messagingengine.com> |
| X-Mailman-Original-References | <smbdhb5kjje2oandna4vj5udku9gh1h9oa@4ax.com> <27nshbp40p1llr231dqm31p754tvurkb8i@4ax.com> <nfm22a$qms$1@reader1.panix.com> <pq4thb907ep4mknnali2rhqgao32jdsn5o@4ax.com> <571eca35$0$1607$c3e8da3$5496439d@news.astraweb.com> <pba0iblrf5v5kojjfbqsrpoobt50k2ggvq@4ax.com> |
| Xref | csiph.com comp.lang.python:107735 |
Show key headers only | View raw
On Tue, Apr 26, 2016, at 07:56 PM, Seymore4Head wrote: > On Tue, 26 Apr 2016 11:53:57 +1000, Steven D'Aprano > <steve@pearwood.info> wrote: > > >On Tue, 26 Apr 2016 08:04 am, Seymore4Head wrote: > > > >> BTW I was trying to use a line like yours that used an output file > >> that didn't exist and was getting an error. I assume that import os > >> fixes that. > > > > > >Why would you assume that? > > > > > >"Doctor, I have a problem with my arm, but I won't tell you what. I assume > >that if I take cough drops that will fix it." > > OK. Dumb question acknowledged. > > I got an error when I tried to write to a non existent file. I > "incorrectly" assumed wrong. That is going to be a common theme. Oh, he wasn't saying it was a dumb question. He was complaining you said you were "getting an error". That's not a dumb question, that's a useless report of a problem. If you don't say what exactly the error is, we can't help you. If you want help, the two best things to do are: 1) Show actual code. 2) Show actual, complete tracebacks. Having a nice description of what you expect to happen is often nice too, especially if its doing something "wrong" and not giving an obvious traceback. Seeing specifically what the wrong behavior is, and you explaining why you think its wrong, can be invaluable. -- Stephen Hansen m e @ i x o k a i . i o
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Python path and append Seymore4Head <Seymore4Head@Hotmail.invalid> - 2016-04-19 18:29 -0400
Re: Python path and append Chris Angelico <rosuav@gmail.com> - 2016-04-20 08:38 +1000
Re: Python path and append Matthew Barnett <mrabarnett@mrabarnett.plus.com> - 2016-04-20 00:36 +0100
Re: Python path and append Seymore4Head <Seymore4Head@Hotmail.invalid> - 2016-04-25 14:10 -0400
Re: Python path and append Rob Gaddi <rgaddi@highlandtechnology.invalid> - 2016-04-25 18:24 +0000
Re: Python path and append Seymore4Head <Seymore4Head@Hotmail.invalid> - 2016-04-25 15:00 -0400
RE: Python path and append Joaquin Alzola <Joaquin.Alzola@lebara.com> - 2016-04-25 19:08 +0000
Re: Python path and append Seymore4Head <Seymore4Head@Hotmail.invalid> - 2016-04-25 16:15 -0400
Re: Python path and append Random832 <random832@fastmail.com> - 2016-04-25 16:28 -0400
Re: Python path and append Peter Otten <__peter__@web.de> - 2016-04-25 23:38 +0200
Re: Python path and append Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-04-25 19:57 -0400
Re: Python path and append Rob Gaddi <rgaddi@highlandtechnology.invalid> - 2016-04-25 19:31 +0000
Re: Python path and append MRAB <python@mrabarnett.plus.com> - 2016-04-25 20:44 +0100
Re: Python path and append Seymore4Head <Seymore4Head@Hotmail.invalid> - 2016-04-25 16:43 -0400
Re: Python path and append Steven D'Aprano <steve@pearwood.info> - 2016-04-26 11:51 +1000
Re: Python path and append Dan Sommers <dan@tombstonezero.net> - 2016-04-26 01:59 +0000
Re: Python path and append Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2016-04-26 18:23 +1200
Re: Python path and append boB Stepp <robertvstepp@gmail.com> - 2016-04-29 15:26 -0500
Re: Python path and append Steven D'Aprano <steve@pearwood.info> - 2016-04-30 11:44 +1000
Re: Python path and append John Gordon <gordon@panix.com> - 2016-04-25 21:26 +0000
Re: Python path and append Seymore4Head <Seymore4Head@Hotmail.invalid> - 2016-04-25 18:04 -0400
Re: Python path and append Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-04-25 20:03 -0400
Re: Python path and append Steven D'Aprano <steve@pearwood.info> - 2016-04-26 11:53 +1000
Re: Python path and append Seymore4Head <Seymore4Head@Hotmail.invalid> - 2016-04-26 22:56 -0400
Re: Python path and append Chris Angelico <rosuav@gmail.com> - 2016-04-27 13:06 +1000
Re: Python path and append Stephen Hansen <me+python@ixokai.io> - 2016-04-27 17:24 -0700
Re: Python path and append Chris Angelico <rosuav@gmail.com> - 2016-04-26 10:25 +1000
csiph-web