Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Noncombatant: A dead Quaker. -- Ambrose Bierce


devel / comp.lang.python / Re: Posting code on stackoverflow

SubjectAuthor
o Re: Posting code on stackoverflowjoseph pareti

1
Re: Posting code on stackoverflow

<mailman.526.1622971077.3087.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=13578&group=comp.lang.python#13578

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: joeparet...@gmail.com (joseph pareti)
Newsgroups: comp.lang.python
Subject: Re: Posting code on stackoverflow
Date: Sun, 6 Jun 2021 11:17:46 +0200
Lines: 33
Message-ID: <mailman.526.1622971077.3087.python-list@python.org>
References: <alpine.LNX.2.20.2106051433010.25613@salmo.appl-ecosys.com>
<CAN_spzgV-sRuHhqeXX45Zx39ad9pC1XHC7BYy+U7KoWgBvt+rg@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de BUZN9MT/LpTbYF6K7WFYoApjnyShwJa9UEtJ+5tcxCXQ==
Return-Path: <joepareti54@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=XRHUjwke;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.001
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'bunch': 0.05; 'joseph':
0.05; 'url:mailman': 0.09; '1600': 0.09; '797': 0.09; 'cc:addr
:python-list': 0.09; 'schrieb': 0.09; '+39': 0.16; '0644': 0.16;
'209cell': 0.16; 'cc:name:python': 0.16; 'from:addr:joepareti54':
0.16; 'from:name:joseph pareti': 0.16; 'pareti': 0.16; "pareti's":
0.16; 'scroll': 0.16; 'shepard': 0.16; 'subject:code': 0.16;
'tia,': 0.16; 'url-ip:151.101.1.69/32': 0.16; 'url-
ip:151.101.129.69/32': 0.16; 'url-ip:151.101.193.69/32': 0.16;
'url-ip:151.101.65.69/32': 0.16; 'url:joepareti54-ai': 0.16;
'url:stackoverflow': 0.16; 'url:listinfo': 0.16; 'code.': 0.19;
'cc:addr:python.org': 0.19; 'url-ip:188.166.95.178/32': 0.20;
'url-ip:188.166.95/24': 0.20; "i've": 0.22; 'url-ip:188.166/16':
0.23; 'lines': 0.24; 'code': 0.24; 'tried': 0.26; 'cc:2**0': 0.27;
'asked': 0.27; 'url-ip:188/8': 0.29; "didn't": 0.29; 'input':
0.29; 'text': 0.29; 'code,': 0.31; 'but': 0.31; 'question': 0.32;
'available.': 0.32; 'url-ip:151.101.129/24': 0.32; 'url-
ip:151.101.193/24': 0.32; "wouldn't": 0.32; 'message-
id:@mail.gmail.com': 0.33; 'header:In-Reply-To:1': 0.33;
'received:google.com': 0.34; 'bar': 0.35; 'from:addr:gmail.com':
0.35; 'received:209.85.208': 0.36; 'cell': 0.37;
'received:209.85': 0.38; "it's": 0.38; 'received:209': 0.38;
'put': 0.39; 'could': 0.40; 'box': 0.61; 'services': 0.63;
'consulting': 0.63; 'involve': 0.65; 'let': 0.65; 'time,': 0.69;
'subject:skip:s 10': 0.69; 'consultant': 0.74; 'clicking': 0.77;
'2021': 0.84; 'juni': 0.84; 'pasting': 0.84; 'subject:Posting':
0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to
:cc; bh=MRMyHhJ6DFlSprwMLrILMp2KcRZpij8jA8IH6tekdIw=;
b=XRHUjwkeSYWclV1n/MaaZewj4piXd5wTwT4htkWHsWeOikz4mZYAviGWxz6uMVkiTd
6mCe8mNAmd4aZEyKFopuvClF1cVkd8d7zg6KbKpEHQb1egyU5uIVqUCacLcxQXQUibGl
+lLz4De5sF8E7Ig/lQzvIh97IRlEygbHpiYgmhD1DYQPpJk7TgdFgvTYhCH2cp4KmPlj
mv69LLg/iI4ZUOyk+eTDBY+ASdWuMeQk/XcZ73Vr6YMmOiDAwcP4IEoujt2CIscL6C9D
nRjM6iPkFJTXIcco23Al+da3D7xaRJkfFzs3ijRNa65YuGZp9+n0yTh3klbR9z0Gy/Sf
LulA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc;
bh=MRMyHhJ6DFlSprwMLrILMp2KcRZpij8jA8IH6tekdIw=;
b=gu8Qvvv5IHNu/0dMjWvGsWmGxU2D4NWaZFl55PpFwHQlX2UR6vypviv6Uz66WFPqMN
zdV557rL0ZK/iMchgPDIeHCdlBrcsDMC1ZzhCyY3lYGl/p2LcDDvs43mZD+50KDrWCUI
0srW+WM7ygSW23t1XhUytAhGt27v4ZjpT0Td3ltoQmmEVRK6Ya4/p+XDq+qUSyn9u2mJ
4tbYU3InFLAPNqSkRLMR+lATNdVYxGKM9lRlRf/HWN1xabKZqFIGmk9E/eZCyx2+GL2V
ICJEaRQRZpGc6fXOM1WsrDRkrEuWt9RwozW6b7tF25aC5Wb/Lqe9lC+XLz1oZtntQlfA
aqYg==
X-Gm-Message-State: AOAM5304OXU9uN+pPG1d2mDBZQofsGgGH4rEvlMNEnPYiyYzAK1sdemK
nr20cBBURUJJY/dy1e0QldXAiNxO+LRYgGNDpyHplYPoeho=
X-Google-Smtp-Source: ABdhPJz/GbSWouE4n302ytECJgL5f3FLAZ7nzB6vdFSl0VAmLXmtTQDjbWVaPxeu8OvPcmKhI4OpSdZ/pdL1vBA7vwc=
X-Received: by 2002:a05:6402:348f:: with SMTP id
v15mr2600322edc.135.1622971075999;
Sun, 06 Jun 2021 02:17:55 -0700 (PDT)
In-Reply-To: <alpine.LNX.2.20.2106051433010.25613@salmo.appl-ecosys.com>
X-Content-Filtered-By: Mailman/MimeDel 2.1.34
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.34
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: <https://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: <CAN_spzgV-sRuHhqeXX45Zx39ad9pC1XHC7BYy+U7KoWgBvt+rg@mail.gmail.com>
X-Mailman-Original-References: <alpine.LNX.2.20.2106051433010.25613@salmo.appl-ecosys.com>
 by: joseph pareti - Sun, 6 Jun 2021 09:17 UTC

you need to put the code between 2 lines defined as follows:
```
then it will be formatted for you

Am Sa., 5. Juni 2021 um 23:40 Uhr schrieb Rich Shepard <
rshepard@appl-ecosys.com>:

> I tried to post a question on stackoverflow.com which included a bunch of
> code (entered after clicking the box 'code'). I noticed that lines were
> wrapped but could not find how to expand the input box so they would not
> wrap.
>
> SO wouldn't let me post the question because of the wrapped code. As I've
> not asked a question ther for a long time, and it didn't involve long lines
> of code, I need to learn a) how to enter code if it's not just clicking on
> the 'code' box before pasting text and b) how to keep code lines from
> wrapping so a horizontal scroll bar is made available.
>
> TIA,
>
> Rich
> --
> https://mail.python.org/mailman/listinfo/python-list
>

--
Regards,
Joseph Pareti - Artificial Intelligence consultant
Joseph Pareti's AI Consulting Services
https://www.joepareti54-ai.com/
cell +49 1520 1600 209
cell +39 339 797 0644

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor