Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.032 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'args': 0.07; 'try:': 0.09; 'cc:addr:python-list': 0.11; 'better?': 0.16; 'msg:': 0.16; 'width.': 0.16; 'attach': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'feb': 0.22; 'email addr:gmail.com>': 0.22; 'cc:addr:python.org': 0.22; 'skip': 0.24; 'text,': 0.24; 'cc:2**0': 0.24; '>': 0.26; 'header:In-Reply-To:1': 0.27; 'fixed': 0.29; 'mode': 0.30; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'facility': 0.31; 'font': 0.31; 'subject:some': 0.31; 'everyone': 0.33; 'agree': 0.35; 'except': 0.35; 'received:google.com': 0.35; 'subject:service': 0.36; 'possible': 0.36; 'turn': 0.37; 'ben': 0.38; 'gmail': 0.38; 'whatever': 0.38; 'pm,': 0.38; 'skip:& 20': 0.39; 'skip:o 30': 0.61; 'skip:n 10': 0.64; 'to:addr:gmail.com': 0.65; 'here': 0.66; '2015': 0.84; 'mailer': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=jNZvJnaTqqPrcq/QbOy4LmiGdcwx29ow7ckSKW1PzEE=; b=FiG/NF+a29lr9zHcIUyUAlffN7CheXUojRv1/u54WUu6vDHSDiiZqpZHDHCxcOkCkE ybi/hTpMRt7fiDMVnqzCejV7comeppMoSbkLyFJzMmckyB6zk7EGpia4MAe6usUoLL8o YgmVfKpzCb5mQoD9YvUfkvrmlLI0jus7lDXN+G8sl+mu6rAKeRkf+tijk228HwHjVh+N DUnXQyb+ACtFh9uWHQooAAcu0k6SQrUwMKM0QnfTpLEhyTi4MShB9gei8wK+bqUnWhVY B5dTTpvnDXgLqRrf2xrI9Rw5O9b0KueKpAHImpDBgMuc/uPHKvekRn0CgSpDKhPpgQSm ScXw== MIME-Version: 1.0 X-Received: by 10.183.24.162 with SMTP id ij2mr1670675obd.18.1423147247105; Thu, 05 Feb 2015 06:40:47 -0800 (PST) In-Reply-To: References: Date: Thu, 5 Feb 2015 08:40:47 -0600 Subject: Re: Usage of some pastebin service proposed From: Skip Montanaro To: Abhiram R Content-Type: multipart/alternative; boundary=001a1134a7ae207d82050e584a92 Cc: "comp.lang.python" X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 50 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1423147250 news.xs4all.nl 2849 [2001:888:2000:d::a6]:58263 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:85255 --001a1134a7ae207d82050e584a92 Content-Type: text/plain; charset=UTF-8 On Wed, Feb 4, 2015 at 10:53 PM, Abhiram R wrote: > So is it possible to let everyone know that they need to paste their code on > some site like pastebin.com and give us the link here so help can be > provided better? Better would be to attach small code snippets. I agree with Ben about the HTML mail thing. If you insist on using that (sometimes I get into non-plain-text mode in Gmail and forget to turn it off), then use whatever facility your mailer has for quoting text, and set the font to fixed width. try: > opts, args = getopt.getopt(args, "o:i:f:F:DHnh") > except getopt.GetoptError, msg: > usage(msg) > return 1 old-school-argument-parsing-ly, y'rs, Skip --001a1134a7ae207d82050e584a92 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Wed, Feb 4, 2015 at 10:53 PM, Abhiram R <abhi.darkness@gmail.com> wrote:<= br>> So is it possible to let everyone know that they need to paste thei= r code on
> some site like pastebin.c= om and give us the link here so help can be
> provided better?
Better would be to attach small code snippets.

I agree with Ben= about the HTML mail thing. If you insist on using that (sometimes I get in= to non-plain-text mode in Gmail and forget to turn it off), then use whatev= er facility your mailer has for quoting text, and set the font to fixed wid= th.

=C2=A0 =C2= =A0 try:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 opts, args =3D getopt.getopt(args, = "o:i:f:F:DHnh")
=C2=A0 =C2=A0 except getopt.GetoptError, msg:<= br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 usage(msg)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 re= turn 1

old-school-argument-parsing-l= y, y'rs,

Skip

--001a1134a7ae207d82050e584a92--