this post was submitted on 01 Jul 2023
20 points (79.4% liked)

Python

6343 readers
3 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

πŸ“… Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
πŸ’“ Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS
 
Python 3.11.3 (main, Jun  5 2023, 09:32:32) [GCC 13.1.1 20230429] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> print "Hello World"
  File "<stdin>", line 1
    print "Hello World"
    ^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

I hope this doesnt reflect on the Quality of this community 🀑

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 13 points 1 year ago (4 children)

The print call there is from python 2. I can do some editing to add in the brackets in a bit

[–] [email protected] 8 points 1 year ago (3 children)

I was a little cheeky there. But in all seriousness python 2 is End-of-Life and no one should use it anymore.

[–] [email protected] 9 points 1 year ago (2 children)

Come on, Python 2 only has 16 critical vulnerabilities. Live dangerously πŸ™ƒ.

[–] [email protected] 2 points 1 year ago

Shoutouts to all people out there maintaining legacy code 🫣

load more comments (1 replies)
load more comments (1 replies)
load more comments (1 replies)