1%
OnePercentDev
LearnRoadmapsCommunityPodcastConsult
Log inJoin OnePercentDev
1%
OnePercentDev

Build. Debug. Ship. AI-ready.
Disciplined daily learning for the AI era.

Navigation

  • Learn
  • Roadmaps
  • Community
  • Podcast
  • Consult

Platform

  • Python for AI
  • Create Account
  • Dashboard

Stay Updated

Get notified about new courses and content drops.

© 2026 OnePercentDev. All rights reserved.

Python for AI
Part 4
Lesson 4
18:09

Python Culture & CPython: 99% DEVELOPERS ಗೆ ಗೊತ್ತಿಲ್ಲ! 🤯 | Python in Kannada | Part-4

Subscribe on YouTube

Up Next

4 / 58
  • 24:43

    First Code: print() & input() — ಇವತ್ತಿಂದ ನೀವು CODER! | Python in Kannada | Part-5

    Part 5

  • 15:49

    How Python Runs: ಈ QUESTION ಕೇಳಿದ್ರೆ 99% DEVS SILENT! 🤐 | Python in Kannada | Part-6

    Part 6

View all 58 lessons
View on GitHub

Part 4 — The Culture of Python + What You Actually Installed


Segment 1 — Why the Name "Python"

Here is something that surprises most people.

Python is not named after the snake.

Python is named after the British comedy show Monty Python's Flying Circus. Guido van Rossum was a fan of the show. When he needed a name for his new language, he wanted something that was:

  • Short
  • Memorable
  • Slightly playful

He picked "Python." Not because it sounded technical. Not because it sounded powerful. Because it sounded fun.

And that small decision tells you something about the culture of this language. Python's community values clarity, simplicity, and a bit of humor. You will see this reflected in everything — from the documentation to the Easter eggs to the way the community talks to each other.

This is not just a technical language. It is a language with personality.


Segment 2 — The Zen of Python

A Philosophy Built Into the Language

Most programming languages have documentation. Python has something more — a philosophy embedded directly inside it.

Open your Python terminal and type:

import this

This prints The Zen of Python — a set of 19 guiding principles written by Tim Peters, a core Python contributor. These are not just nice words. These are the principles that shaped every design decision in the language.

Here are the five most important ones and what they mean in practice:


1. Readability counts

Code is read far more often than it is written. In a team, five people read your code for every one time you write it. If your code is unreadable, it slows down everyone.

In production, unreadable code causes bugs, delays, and frustration. Python enforces readability through indentation, clean syntax, and a culture that values clarity over cleverness.

2. Simple is better than complex

If you can solve a problem in 3 lines, do not write 30 lines. Complexity should exist only when the problem demands it, not because you want to look clever.

In real projects, the simplest solution that works is usually the best solution. Overengineering kills productivity.

3. Explicit is better than implicit

Your code should clearly show what it does. Hidden behavior causes bugs that are hard to find. If a function changes something, that should be visible in the code.

When you debug a production issue at 2 AM, explicit code saves hours. Implicit code makes you question your sanity.

4. Errors should never pass silently

If something goes wrong, the program should tell you. Ignoring errors leads to silent failures — the worst kind of bug in production systems. The ones where everything looks fine, but data is silently being corrupted.

5. There should be one obvious way to do it

Python prefers having one clear, standard way to solve common problems. This makes codebases consistent across teams and projects.

Compare this to Perl's philosophy — "There is more than one way to do it." That sounds liberating, until you join a team where every developer writes the same logic in a completely different way.


Why This Philosophy Matters in Real Work

These are not academic principles. They directly affect your daily work and your career.

PrincipleWhat Happens When You Ignore It
Readability countsCode reviews take 3x longer, bugs hide in complex logic
Simple is better than complexNew team members cannot understand the codebase
Explicit is better than implicitDebugging takes hours because behavior is hidden
Errors should never pass silentlyProduction failures go undetected until users complain
One obvious way to do itEvery developer writes the same logic differently, causing inconsistency

Companies choose Python for team projects partly because of this philosophy. When a language encourages readable, consistent code, collaboration becomes easier. Onboarding becomes faster. Bugs become rarer.


Segment 3 — PEPs, Easter Eggs, and Community

How Python Evolves — PEPs

Python does not change randomly. It evolves through a formal, transparent process called PEPs — Python Enhancement Proposals.

A PEP is a document that proposes a change to Python. It describes what the change is, why it is needed, and how it should be implemented. The community discusses it. Core developers review it. Only then is it accepted or rejected.

Important PEPs to know:

PEPWhat It Covers
PEP 8Python style guide (how to format code)
PEP 20The Zen of Python
PEP 257Docstring conventions

PEP 8 is particularly important. It defines naming conventions, indentation rules, and code formatting standards that most Python projects follow. When you join a company and write Python code, PEP 8 is the baseline standard.

Reference: https://peps.python.org/pep-0008/

The PEP process is one reason Python has stayed consistent and well-designed over three decades. Changes are not rushed — they are discussed, debated, and refined.


Easter Eggs — Python's Playful Side

Python has a few hidden features that reflect its culture of fun.

The Antigravity Module

import antigravity

Run this and it opens a web comic about Python. It is a playful reminder that Python's community values humor alongside engineering.

The Underscore in REPL

In the Python interactive shell:

>>> 10 + 20
30
>>> _
30

The underscore _ stores the result of the last expression. A small but useful shortcut during interactive exploration.


Python's Community

Python has one of the largest developer communities in the world. This is not just a nice fact — it is a practical advantage.

What it means for you:

  • Almost every problem you face has already been solved and discussed
  • Libraries get updated quickly
  • When AI researchers publish new papers, Python implementations appear first
  • Open-source tools are abundant

When you get stuck on a problem at 2 AM, the answer likely already exists in Python's ecosystem — a StackOverflow post, a GitHub issue, a blog tutorial. That is community power.


Where This Culture Applies in Real Work

Python's philosophy is not just about writing clean code in tutorials. It shapes real decisions in production:

  • Code reviews — reviewers use PEP 8 as a baseline. Code that violates style guidelines gets flagged.
  • Team onboarding — new developers can read Python codebases faster because the language enforces readability.
  • AI and data pipelines — when data scientists and engineers collaborate, readable code reduces miscommunication.
  • Open-source contributions — following Python's conventions makes your contributions acceptable to the community.

Understanding the culture behind the language makes you a better collaborator, not just a better coder.


Segment 4 — What You Actually Installed: The CPython Deep Dive

Beyond the Installation

In Part 2, you installed Python and verified it works. Done.

But what actually landed on your computer? Most tutorials skip this. We will not. Because a 1% developer does not just use tools — they understand them.

When you installed Python, you did not install just a language. You installed three things:

ComponentWhat It DoesWritten InSee the Code
Python InterpreterThe program that reads and executes your Python codeCPython/ceval.c
Standard LibraryBuilt-in modules (math, os, json, datetime, random, etc.)Python (mostly)Lib/
pipPackage manager to install external librariesPythongithub.com/pypa/pip

All three are real code, written by real people. Nothing is hidden or magical. Let us look at each one.


1. Python Interpreter

When you ran python3 --version earlier, you were calling the interpreter.

The interpreter is a program written in C that now sits on your computer. When you type python3 main.py, this C program launches, reads your .py file, and tells your CPU what to do.

Your CPU only understands binary (0s and 1s). It has no idea what print("Hello") means. The interpreter is the translator — it reads your Python and converts it into instructions the CPU can execute.

The core of the interpreter — the part that actually executes your code — lives in a C file called ceval.c:

https://github.com/python/cpython/blob/main/Python/ceval.c

The entry point — the very first thing that runs when you type python3 — is this small C file:

https://github.com/python/cpython/blob/main/Programs/python.c

You can open it and see — it is surprisingly short. Everything starts there.

We will cover how the interpreter executes your code step by step in Part 6.

2. Standard Library — "Batteries Included"

When you ran pip --version, pip was already there. You did not install it separately. That is because Python comes with a large collection of pre-built modules — the standard library.

Some examples you can explore in the actual repository:

ModuleWhat It DoesSee the Code
jsonRead and write JSON dataLib/json/init.py
randomGenerate random numbersLib/random.py
datetimeWork with dates and timesLib/datetime.py
osInteract with the operating systemLib/os.py

Click those links. These are just Python files. Someone wrote them, and they came bundled with your installation. That is what "batteries included" means — common tools are ready to use without installing anything extra.

3. pip — Pip Installs Packages

pip stands for "Pip Installs Packages" — it is a recursive acronym (the name contains itself).

pip is a separate project maintained by the Python Packaging Authority (PyPA):

https://github.com/pypa/pip

CPython bundles pip using an internal module called ensurepip (see the code), so pip is available the moment you install Python. You do not install pip separately.

pip itself is written in Python. When you run pip install requests, a Python program downloads and installs the package for you.


What Is CPython?

Now you know you installed an interpreter written in C. That interpreter has a name: CPython.

The Python you downloaded from python.org is CPython — C (the language it is written in) + Python (the language it runs).

Python is a language specification — it defines the syntax, the rules, and how things should behave. Think of it as a blueprint.

But a blueprint alone does not build a house. Someone has to write an actual program that can read Python code and execute it. That program is called an implementation.

CPython is the original implementation, built by Guido van Rossum. It is written in the C programming language — that is why it is called CPython.

Source code: https://github.com/python/cpython

Other Python Implementations

Different teams have built different implementations of Python. They are named after the language they are written in:

ImplementationWritten InWhat It DoesDownload
CPythonCThe original and default. This is what you just installed from python.orgpython.org
JythonJavaRuns Python code on the Java Virtual Machine (JVM). Used in Java-heavy enterprise environmentsjython.org
IronPythonC# (.NET)Runs Python code on Microsoft's .NET platform. Used in Microsoft-heavy tech stacksironpython.net
PyPyRPython (a subset of Python)A faster alternative to CPython. Uses a JIT compiler for significantly better performancepypy.org

They all run the same Python language — same syntax, same rules. But each implementation is a different program, built by a different team, in a different language.

CPython is what 99% of developers use. When anyone says "Python," they mean CPython. Unless you deliberately go to one of those other websites and install their version, you are using CPython.


Why Different Implementations Exist — The Bridge Concept

This is the part most tutorials never explain.

The interpreter you install decides which world of libraries you can access. Each implementation is a bridge to a different ecosystem.

CPython — The C World

Because CPython is written in C, it can directly use C libraries. You are already doing this without realizing it.

import math
print(math.sqrt(144))

This feels like pure Python. But the math module is actually written in C for speed:

https://github.com/python/cpython/blob/main/Modules/mathmodule.c

When you call math.sqrt(144), CPython is calling a C function directly. That is why it is fast.

More examples of C libraries you are already using through Python:

What you write in PythonWhat actually runs underneathSee the C code
import mathC math functionsModules/mathmodule.c
import sqlite3C SQLite database engineModules/sqlite/module.c
import hashlibC cryptography functionsModules/hashlib.h
import numpy (external)C and Fortran math enginegithub.com/numpy/numpy

Every time you import math or import sqlite3, you are calling C code through Python. You write simple Python — the heavy work is done in C underneath. Best of both worlds.

This is exactly why Python became the language of AI and data science. Libraries like NumPy, TensorFlow, and PyTorch are all Python on the surface but C/C++ underneath. Scientists write easy Python. The computer runs fast C.

Jython — The Java World

If a company has spent years building their entire system in Java and a developer wants to use Python, CPython will not help. CPython cannot call Java classes. Jython solves this. Because it runs on the JVM, you can use Python syntax to directly call Java classes like HashMap.

IronPython — The .NET World

Same idea for companies running on Microsoft .NET. IronPython lets you write Python that calls C# / .NET libraries directly.

The Complete Picture

If you installYou can importYou cannot import
CPython (from python.org)C libraries (math, sqlite3, NumPy, etc.)Java classes, .NET classes
Jython (from jython.org)Java classes (HashMap, Swing, etc.)C libraries (NumPy, pandas, etc.)
IronPython (from ironpython.net).NET classes (Windows Forms, C# libraries)C libraries, Java classes
PyPy (from pypy.org)Most C libraries (compatible with CPython)Java classes, .NET classes

The interpreter is the bridge. Same Python language, but different bridges to different worlds.

You installed CPython. That means your Python can talk to the C world — and that is exactly what 99% of the Python ecosystem is built on.


Segment 5 — Project Setup: Folder Structure + Git

Setting Up Like a Professional

From day one, organize your work like a professional. Do not save random .py files on your desktop. Create a structured project folder.

Recommended structure:

python-1percent/
├── README.md
├── .gitignore
└── src/
    └── main.py

Create it:

mkdir python-1percent
cd python-1percent
mkdir src
touch README.md
touch .gitignore
touch src/main.py

On Windows (PowerShell):

mkdir python-1percent
cd python-1percent
mkdir src
New-Item README.md
New-Item .gitignore
New-Item src/main.py

Why this structure matters:

File/FolderPurpose
README.mdDescribes the project — every professional repository has one
.gitignoreTells Git which files to ignore (temporary files, environment folders)
src/Keeps source code organized in a dedicated folder

Git From Day One

Initialize version control immediately:

git init

Add a basic .gitignore:

__pycache__/
*.pyc
venv/
.env
.DS_Store

This prevents unnecessary files from being tracked.

Version control is not optional in professional work. Every company uses Git. Every open-source project uses Git. Starting with Git from your very first file builds the right habit.


The Professional Rules

Three rules to follow from this point forward:

  1. Never install packages globally — always use virtual environments (covered in a later part)
  2. Never mix projects — each project gets its own folder and its own dependencies
  3. Never depend on system Python — system Python is for the operating system, not for your projects

Breaking these rules leads to version conflicts, broken environments, and deployment failures.


Where This Applies in Real Work

In production environments:

  • Every project runs in an isolated environment
  • Every deployment depends on exact Python and package versions
  • Environment mismatches cause the most common deployment failures ("it works on my machine")
  • CI/CD pipelines rebuild environments from scratch using configuration files

A bad setup does not just slow you down — it breaks production systems. AI tools do not fix environment problems. Engineers do.


Practice Assignment

  1. Open a Python terminal and run import this — read through all the principles
  2. Pick 3 principles from the Zen of Python that stand out to you. For each one, write one sentence about why you think it matters.
  3. If you have not already: create the project folder structure shown above, run git init, and add the .gitignore.
  4. Open the folder in VS Code and confirm the Python extension is working.

You now know why Python exists, why it dominates the AI era, how it was designed, the philosophy behind it, what is actually running on your machine, and your project is set up like a professional.

It is time to write your first line of Python code.


Next: Part 5 — Your first Python code. We write, run, and understand print(), input(), and the fundamental model behind every program.

History: PYTHON ಹೇಗೆ C, Java ಎಲ್ಲವನ್ನೂ BEAT ಮಾಡ್ತು? 🏆 | Python in Kannada | Part-3First Code: print() & input() — ಇವತ್ತಿಂದ ನೀವು CODER! | Python in Kannada | Part-5

Up Next

4 / 58
  • 24:43

    First Code: print() & input() — ಇವತ್ತಿಂದ ನೀವು CODER! | Python in Kannada | Part-5

    Part 5

  • 15:49

    How Python Runs: ಈ QUESTION ಕೇಳಿದ್ರೆ 99% DEVS SILENT! 🤐 | Python in Kannada | Part-6

    Part 6

View all 58 lessons

GitHub Notes

View Part 4 notes on GitHub
GitHub Notes
View Part 4 notes on GitHub
PrevNext
27:21
27:21

Stack, Heap & Memory: ಇದು ಅರ್ಥ ಆದ್ರೆ PYTHON MASTER ನೀವೇ! | Python in Kannada | Part-7

Part 7

Stack, Heap & Memory: ಇದು ಅರ್ಥ ಆದ್ರೆ PYTHON MASTER ನೀವೇ! | Python in Kannada | Part-7

Part 7

  • 28:24

    Variables Deep Dive: Names, Objects & References Explained | Python in Kannada | Part-8

    Part 8

  • 28:24

    Variables Deep Dive: Names, Objects & References Explained | Python in Kannada | Part-8

    Part 8

  • 29:39

    The Truth About Numbers & Math: Why 0.1 + 0.2 is NOT 0.3 ? | Python in Kannada | Part-9

    Part 9

  • 29:39

    The Truth About Numbers & Math: Why 0.1 + 0.2 is NOT 0.3 ? | Python in Kannada | Part-9

    Part 9

  • 29:23

    Strings Deep Dive: Text Processing for APIs, AI & Interviews | Python in Kannada | Part-10

    Part 10

  • 29:23

    Strings Deep Dive: Text Processing for APIs, AI & Interviews | Python in Kannada | Part-10

    Part 10

  • 17:54

    Booleans & Comparisons: Why "False" Can Be True | Python in Kannada | Part-11

    Part 11

  • 17:54

    Booleans & Comparisons: Why "False" Can Be True | Python in Kannada | Part-11

    Part 11

  • 18:03

    Logical Operators: Why and/or Don’t Return True or False | Python in Kannada | Part-12

    Part 12

  • 18:03

    Logical Operators: Why and/or Don’t Return True or False | Python in Kannada | Part-12

    Part 12