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

Python

6375 readers
26 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
[–] iusearchbtw@lemmy.sdf.org 30 points 1 year ago (1 children)

It's Python 2. Not sure why anyone's writing Python 2 in 2023, but it's valid code.

[–] christophski@feddit.uk 8 points 1 year ago (1 children)

Some people have legacy codebases and haven't been able to justify the workload to migrate it 😭😭😭

So common in consulting. Many customers only want new things and feel like they shouldn't have to keep paying once an initial product has been delivered. But needs change, tech moves on and things need refreshing or replacing. The hardest situation is when the client has no in-house expertise so can only assume you're trying to fleece them for more money.