Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #9472

Re: Suppressing newline writing to file after variable

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.85.MISMATCH!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.012
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'python': 0.08; 'am,': 0.13; 'subject:file': 0.13; 'wrote:': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:variable': 0.16; 'subject:writing': 0.16; 'url:pastebin': 0.16; 'edward': 0.16; 'received:209.85.210.174': 0.19; 'received:mail- iy0-f174.google.com': 0.19; 'long,': 0.22; 'header:In-Reply-To:1': 0.22; 'code': 0.24; "i'm": 0.27; 'fri,': 0.28; 'message- id:@mail.gmail.com': 0.28; 'engineering': 0.29; 'thanks': 0.31; 'list': 0.32; 'too': 0.32; 'rather': 0.33; 'to:addr:python-list': 0.34; 'post': 0.34; 'tasks': 0.35; 'option': 0.37; 'received:google.com': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'read,': 0.40; 'received:209': 0.40; 'voice': 0.69; '12:53': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=TxE25Xuz9B5zzwkWmM0hEI+yDCNyVbem6VHXb+TivGU=; b=gCmBlz7Ci0xdlFglWDKmpkO74gd/YvKq83vE4czZp4qmXLlFeMbS2u2YHNUTZdmnEZ M+FEtssN+A7xwqUy+wjJiutp5KeDfCAFvlQSm54Jn9Augyyqgiui8vvn5vDaLJO0qRAm /jEOJNNBlZ0TuPaqVWOlADeh4whkNq4coi/oc=
MIME-Version 1.0
In-Reply-To <77AE044B1BF3944FAE2435F395F11B4B01859B8F@clt-exmb02.bbtnet.com>
References <77AE044B1BF3944FAE2435F395F11B4B016A2910@clt-exmb02.bbtnet.com> <BANLkTikpXEpgjvVsVWocw5wVVqnLmQDa5A@mail.gmail.com> <77AE044B1BF3944FAE2435F395F11B4B016A29A2@clt-exmb02.bbtnet.com> <BANLkTi=rn3Z5crEYG6VDUim=5aWgaADHRQ@mail.gmail.com> <77AE044B1BF3944FAE2435F395F11B4B01859B08@clt-exmb02.bbtnet.com> <CAPTjJmrZGHN_FZ_k8+3Zv+rRiG+GDyp30N1K=8dfjZ8CLZYEiQ@mail.gmail.com> <77AE044B1BF3944FAE2435F395F11B4B01859B8F@clt-exmb02.bbtnet.com>
Date Fri, 15 Jul 2011 01:03:14 +1000
Subject Re: Suppressing newline writing to file after variable
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
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.1028.1310655796.1164.python-list@python.org> (permalink)
Lines 15
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1310655796 news.xs4all.nl 23981 [2001:888:2000:d::a6]:51587
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:9472

Show key headers only | View raw


On Fri, Jul 15, 2011 at 12:53 AM, Ellerbee, Edward <EEllerbee@bbandt.com> wrote:
> Holy cow, that's perfect!
>
> Thanks so much :)
>
> Would it be alright if I post my code on the list for critiquing? I'm
> learning python to supplement my voice engineering position - time
> consuming tasks that can be automated will take less time.

If it's not too long, sure! If it's more than can conveniently be
read, post it on one of those code-sharing places like
http://pastebin.com/ and post a link; then those who want to read it
can do so, and those who would rather avoid it have that option too.

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Suppressing newline writing to file after variable Chris Angelico <rosuav@gmail.com> - 2011-07-15 01:03 +1000

csiph-web