Tagged articles
23 articles
Page 1 of 1
Code Mala Tang
Code Mala Tang
Mar 8, 2026 · Fundamentals

Essential Python 2 vs 3 Differences Every Developer Must Know

Although Python 2 is officially deprecated, many legacy systems still use it, so understanding the key syntax, arithmetic, string handling, loop constructs, exception syntax, input functions, dictionary iteration, and library support differences between Python 2 and Python 3 is crucial for maintaining and migrating code.

LegacyPythonmigration
0 likes · 9 min read
Essential Python 2 vs 3 Differences Every Developer Must Know
Lisa Notes
Lisa Notes
Feb 20, 2026 · Fundamentals

Master Python's input() Function: A Beginner’s Guide

This tutorial explains how Python's input() function works, covering its syntax, behavior, and return type, and provides concrete examples such as prompting for a password and age, illustrating how user input is captured and displayed in Python 3.

BeginnerPythonTutorial
0 likes · 4 min read
Master Python's input() Function: A Beginner’s Guide
Python Programming Learning Circle
Python Programming Learning Circle
Aug 30, 2024 · Fundamentals

Key Findings from the 2022 JetBrains Python Developer Survey

The 2022 JetBrains Python Developer Survey, conducted with over 23,000 respondents from more than 200 countries, reveals that 93% now use Python 3 (with Python 3.10 most popular), 7% still use Python 2, and highlights trends in frameworks, databases, big‑data tools, IDEs, operating systems, documentation tools, and primary usage contexts.

IDEbig-datadatabases
0 likes · 5 min read
Key Findings from the 2022 JetBrains Python Developer Survey
21CTO
21CTO
Oct 10, 2023 · Fundamentals

Why Do Some Developers Still Stick with Python 2 in 2023? Survey Insights Revealed

Despite Python 3’s dominance, a 2022 survey of over 23,000 developers shows that a notable minority still rely on Python 2 for data analysis, graphics, and DevOps, highlighting lingering legacy usage, regional variations, and the factors influencing language adoption across the global community.

language adoptionpython2python3
0 likes · 4 min read
Why Do Some Developers Still Stick with Python 2 in 2023? Survey Insights Revealed
Liangxu Linux
Liangxu Linux
Mar 9, 2022 · Fundamentals

Instant Code Formatting in Vim with the vim-rt-format Plugin

This guide shows how to install and configure the vim-rt-format plugin so that Vim automatically formats the current line on pressing ENTER in INSERT mode, covering prerequisite Python3 support, required Python modules, and essential .vimrc settings.

Code FormattingVimautopep8
0 likes · 3 min read
Instant Code Formatting in Vim with the vim-rt-format Plugin
360 Quality & Efficiency
360 Quality & Efficiency
Feb 21, 2020 · Fundamentals

Key Differences Between Python 2 and Python 3

This article outlines the historical development of Python, explains why Python 2 reached end‑of‑life in 2020, and details the major syntactic and functional differences between Python 2 and Python 3, including encoding defaults, exception handling, range functions, print statements, and input behavior, concluding with guidance on choosing a version.

Pythonencodingprogramming
0 likes · 8 min read
Key Differences Between Python 2 and Python 3
Programmer DD
Programmer DD
Jan 4, 2020 · Fundamentals

Why Python 2.7’s End‑of‑Life Matters for Your Projects

Python 2.7 officially reached end of life on January 1 2020, prompting a massive migration to Python 3 as many libraries and platforms drop support, which impacts millions of systems and raises security and maintenance concerns for developers and organizations alike.

EOLmigrationpython3
0 likes · 4 min read
Why Python 2.7’s End‑of‑Life Matters for Your Projects
21CTO
21CTO
Jan 1, 2020 · Fundamentals

Why and How to Migrate Your Python 2.7 Scripts to Python 3

This article explains why Python 2.7 reached end‑of‑life in 2020, outlines the benefits and incompatibilities of moving to Python 3, and offers practical guidance for a smooth migration, including using official porting tools and managing dual environments with conda.

CondaPythonVersion Upgrade
0 likes · 3 min read
Why and How to Migrate Your Python 2.7 Scripts to Python 3
21CTO
21CTO
Oct 2, 2019 · Fundamentals

Master Google’s Python Style Guide: Lint, Imports, and Best Practices

This article presents Google’s official Python style guide, explaining why coding standards matter for Python, how to use pylint for linting, recommended import conventions, handling packages, exceptions, globals, nested classes, list comprehensions, generators, lambda functions, default arguments, properties, threading, naming conventions, and proper module entry points, all illustrated with clear examples and code snippets.

best-practicescoding-standardsimports
0 likes · 29 min read
Master Google’s Python Style Guide: Lint, Imports, and Best Practices
ITPUB
ITPUB
Sep 11, 2019 · Fundamentals

Why Python 2 Ended and How to Seamlessly Upgrade to Python 3

The article explains that Python 2 reached its official end‑of‑life on January 1 2020, outlines the risks of staying on the obsolete version, and provides a step‑by‑step migration guide, historical background, and resources for moving to Python 3.

2to3Pythonopen-source
0 likes · 9 min read
Why Python 2 Ended and How to Seamlessly Upgrade to Python 3
MaGe Linux Operations
MaGe Linux Operations
Jan 15, 2018 · Fundamentals

Mastering Character Encoding in Python: From ASCII to UTF‑8

This article explains the fundamental concepts of characters, character sets, and encodings, compares common encodings such as ASCII, Unicode, and UTF‑8, and shows how Python 2 and Python 3 handle default encodings, string types, and common Unicode errors with practical code examples.

UTF-8Unicodecharacter encoding
0 likes · 14 min read
Mastering Character Encoding in Python: From ASCII to UTF‑8
ITPUB
ITPUB
Oct 14, 2016 · Fundamentals

25 Essential Python Tricks Every Developer Should Know

This article compiles a curated list of practical Python tricks—from chained comparisons and enumerate usage to generators, dictionary comprehensions, decorators, and context managers—providing clear examples and explanations that help developers write more concise, efficient, and readable code.

best-practicescodeprogramming
0 likes · 15 min read
25 Essential Python Tricks Every Developer Should Know
Baidu Tech Salon
Baidu Tech Salon
Aug 25, 2014 · Industry Insights

Why Python 3 Still Can’t Replace Python 2: Migration Pain Points and Community Options

The article examines the practical and economic obstacles that prevent many projects from moving from Python 2 to Python 3, highlighting the loss of third‑party libraries, compatibility headaches, costly rewrites, and proposes controversial ideas such as forking Python 2.7 to keep legacy code alive.

Library CompatibilityPythonVersion Migration
0 likes · 7 min read
Why Python 3 Still Can’t Replace Python 2: Migration Pain Points and Community Options