Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"my terminal is a lethal teaspoon." -- Patricia O Tuama


devel / comp.lang.python / keep getting a syntax error on the very first program I am running

SubjectAuthor
* keep getting a syntax error on the very first program I am runningBob Griffin
`- Re: keep getting a syntax error on the very first program I amJon Ribbens

1
keep getting a syntax error on the very first program I am running

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: bob.griffin76@gmail.com (Bob Griffin)
Newsgroups: comp.lang.python
Subject: keep getting a syntax error on the very first program I am running
Date: Fri, 14 Jan 2022 20:12:03 -0500
Lines: 41
Message-ID: <mailman.180.1642209213.3079.python-list@python.org>
References: <C9C2B9D2-841C-427A-BD61-7D06CCD9B4C5@hxcore.ol>
Mime-Version: 1.0
Content-Type: text/plain; charset="utf-8"
X-Trace: news.uni-berlin.de ATFAM1lU2L4QS3sox1/2WAHEgWt3rHfwCZ3BBJ5LtDPQ==
Return-Path: <bob.griffin76@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=NqbpPcJN;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.044
X-Spam-Evidence: '*H*': 0.91; '*S*': 0.00; 'subject:error': 0.07;
'subject:first': 0.09; 'tags': 0.09; 'also.': 0.16;
'subject:program': 0.16; 'subject:running': 0.16;
'subject:syntax': 0.16; 'python': 0.16; 'to:addr:python-list':
0.20; 'to:name:python-list@python.org': 0.24; 'tried': 0.26;
'bit': 0.27; 'program': 0.31; 'windows': 0.34;
'received:google.com': 0.34; 'running': 0.34; 'invalid': 0.35;
'from:addr:gmail.com': 0.35; 'received:209.85': 0.37;
'received:209': 0.39; 'url:550986': 0.39; 'url:fwlink': 0.39;
'url:linkid': 0.39; 'received:209.85.222': 0.39; 'skip:i 20':
0.62; 'key': 0.64; 'subject:very': 0.69; 'skip:w 20': 0.69;
'forgot': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=mime-version:date:from:subject:thread-topic:message-id:to
:content-transfer-encoding;
bh=9LATOkkynGPPa95jimYJuvoNj4YrlCzcLDiCyXnMru4=;
b=NqbpPcJNefOYLm8ftx9IGd/tfpXcdHZXVGKL/ytYrRK2731+0CXr+Rqmu2DgZK5mA6
OkD9hw8QCmlUVy5gA8587ojkrWZO/oj7x0sFIEK5wjtsT1wT2/5udXTfhG9QW36Cwaho
FsUnaRk+CW9t6m422CsmHwuFwvCGMjQaSiubxbDmOiy1HgArrbqxsEZOfAY1udBNeKkM
On5niY7iq0BSTXteCi0SDvQZmpuUo8jFNQfa6BcWebkYR7p+OQYPj+VJO3XrBCfW+ckI
E+9Moc13oC9DCeQjNM/PeTWMT/NKhEgJY8spQhAfFviGc5V4PrP606G446d3QnszGXfF
TQ9w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:date:from:subject:thread-topic
:message-id:to:content-transfer-encoding;
bh=9LATOkkynGPPa95jimYJuvoNj4YrlCzcLDiCyXnMru4=;
b=NUOBlbstqg7lBIcnBDELukw2K/YHj1hdGAVszB6urQvdU865JRjSYG+1pFSXa8V4VV
Tn3o+PaalZCtgv4b/JaPYWJi1qGNp3U9ZlgNgsTusEosVjR7x+n0BI+Pa0JBni4uoEhA
uO3PhASndnp9uasrFQ1U2M8TW6JANUphRpw9ZzCV5zXdbdNw8lxvIOLV9Ld2mFlpz51D
Hpdi/NYYi1tU11qLJJIC2ki+5hOk8UjNR8KrOrANEmfER5NakYuggijKBWd6zN2BMun7
a69sAjjUUpWbo4P66Y4qwTjWHoCV8Bl5KHlBnfkVkbWFQJOapdS19Y083za/UxXnLyZ0
VGoA==
X-Gm-Message-State: AOAM533Rvm0s9a1MVjTe4oSlgFBLANoL10JFFgq4XEYFfgu0vPvNqolW
gX0EeE+SmoL5V+pwXbex2bOoXddw+CM=
X-Google-Smtp-Source: ABdhPJzDHrIO3O0bTaIWi8PsmbU6578MYmS5sJbf8lNL5f5FJEZ0bOvErEZB5bDAx00xbHOFESt1UA==
X-Received: by 2002:ae9:edd5:: with SMTP id c204mr7264101qkg.647.1642209126623;
Fri, 14 Jan 2022 17:12:06 -0800 (PST)
Thread-Topic: keep getting a syntax error on the very first program I am
running
X-Mailman-Approved-At: Fri, 14 Jan 2022 20:13:28 -0500
X-Content-Filtered-By: Mailman/MimeDel 2.1.39
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
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: <C9C2B9D2-841C-427A-BD61-7D06CCD9B4C5@hxcore.ol>
 by: Bob Griffin - Sat, 15 Jan 2022 01:12 UTC

I am running this program and keep getting this error. Is this normal?

Invalid syntax. Perhaps you forgot a comma?

Also the t in tags is highlighted.

I even tried different versions of Python also.

Python 3.10.1 (tags/v3.10.1:2cd268a, Dec 6 2021, 19:10:37) [MSC v.1929 64
bit (AMD64)] on win32

Type "help", "copyright", "credits" or "license()" for more information.

print("Hello World")

Hello World

input("\n\nPress the enter key to exit.")

Sent from [1]Mail for Windows

References

Visible links
1. https://go.microsoft.com/fwlink/?LinkId=550986

Re: keep getting a syntax error on the very first program I am running

<slrnsu49qm.3sc.jon+usenet@raven.unequivocal.eu>

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jon+usenet@unequivocal.eu (Jon Ribbens)
Newsgroups: comp.lang.python
Subject: Re: keep getting a syntax error on the very first program I am
running
Date: Sat, 15 Jan 2022 01:45:58 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <slrnsu49qm.3sc.jon+usenet@raven.unequivocal.eu>
References: <C9C2B9D2-841C-427A-BD61-7D06CCD9B4C5@hxcore.ol>
<mailman.180.1642209213.3079.python-list@python.org>
Injection-Date: Sat, 15 Jan 2022 01:45:58 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="c0064ade93c3b8545c32e424648c9411";
logging-data="9149"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18+wGV/0CCmLq3KVXETbic52g96r41IO10="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:2BCyxMbiIiY9Wkjs7X1BuEil+OI=
 by: Jon Ribbens - Sat, 15 Jan 2022 01:45 UTC

On 2022-01-15, Bob Griffin <bob.griffin76@gmail.com> wrote:
> I am running this program and keep getting this error. Is this normal?
>
> Invalid syntax. Perhaps you forgot a comma?
>
> Also the t in tags is highlighted.
>
> I even tried different versions of Python also.
>
> Python 3.10.1 (tags/v3.10.1:2cd268a, Dec 6 2021, 19:10:37) [MSC v.1929 64
> bit (AMD64)] on win32
>
> Type "help", "copyright", "credits" or "license()" for more information.
>
> print("Hello World")
>
> Hello World
>
> input("\n\nPress the enter key to exit.")

You're only supposed to enter the lines:

print("Hello World")

and

input("\n\nPress the enter key to exit.")

The other lines are showing you the output you should see.


devel / comp.lang.python / keep getting a syntax error on the very first program I am running

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor