[KongchangAI]
· 2 min read· 1,127 words

Why Learn Python in the AI Era? A Deep Dive with the Author of 'Python Crash Course'

Why Learn Python in the AI Era? A Deep Dive with the Author of 'Python Crash Course'

Python Crash Course author says Python is still the core glue in the AI era, but human judgment must remain central.

In an interview, Eric Matthes argues that Python is not obsolete in the AI era but serves as a 'glue language' for high-level logic and system integration, with low-level computation handled by C/Rust. AI tools lower the barrier to programming, enabling non-programmers to build useful tools, but over-reliance brings responsibility transfer and financial risks, requiring a 'trust but verify' approach. He also worries about data privacy misuse and personal data being used to shape images, emphasizing that the trust human creators provide as curators is irreplaceable by AI, and advises creators to find their own rhythm and avoid sharing for sharing's sake.

Why Learn Python in the AI Era? A Deep Dive with the Author of 'Python Crash Course'

In an age where AI coding tools are becoming increasingly common, is it still necessary to learn Python? Eric Matthes, author of Python Crash Course, shared his views in a recent interview. As an expert with decades of teaching and programming experience, Matthes believes Python is not obsolete—rather, it plays an even more critical role in the AI era.

Python: The Core Glue of the AI Era

Matthes points out that Python is the "backbone" of much AI work. Although low-level vector operations and mathematical processing may be handled by faster languages like C or Rust, high-level system construction and logic expression typically use Python. "You can express real-world problems in Python, while the parts that need fast execution are left to other languages," he explains. This division of labor keeps Python irreplaceable in AI development.

Interview screenshot

Part of the reason Python remains popular lies in its design philosophy: prioritizing human needs over machine needs. Matthes recalls that Python was born in 1991, when memory was becoming cheap and manual memory management was no longer necessary. "Python was designed to interact easily with other languages," he says. "We're still using it 35 years later precisely because it can easily glue various components together."

Python's Role as a "Glue Language": Python is often called a "glue language," which relates to its emphasis on extensibility and interoperability from the outset. Python can directly call libraries compiled in C/C++/Rust through mechanisms like C extensions, Cython, ctypes, and cffi, and can also be embedded in other systems. In the AI technology stack, this characteristic is particularly critical: low-level high-performance computing (such as matrix multiplication and GPU kernels) is implemented by CUDA, cuBLAS, or Rust, while Python handles upper-level data flow orchestration, model definition, training loop control, and result evaluation. Mainstream frameworks like PyTorch, TensorFlow, and JAX all adopt a "Python frontend + high-performance backend" architecture. Therefore, Python's irreplaceability comes not from execution speed, but from its role as a system integration layer and logic expression layer.

AI Tools Democratize Programming, but Risks Coexist

The emergence of AI tools has made programming more accessible. Matthes shares a personal example: he once spent an afternoon writing a small Python tool to add borders to images, something only programmers or those who could hire programmers could do at the time. "Now, most computer-literate people can have AI build such tools," he says. "If what you're doing is harmless and you can quickly check the output, using AI is safe and appropriate."

However, Matthes also warns of the risks of over-reliance on AI. He cites a saying: AI tools are "tools that offload responsibility to you and leave the profits to AI companies." If what AI builds involves health or financial safety, AI companies will not take responsibility for errors. "These systems can solve problems because they introduce randomness. But the same randomness also means errors are inevitable," he emphasizes.

Interview screenshot

Matthes recommends a "trust but verify" attitude. For small business owners, he cautions that many build their entire business on a $200-per-month AI subscription, and if the price rises to $2,000 or $20,000 per month, they could face enormous pressure. "This cycle has been playing out for 20 years," he says.

"Randomness" and the Error Patterns of AI Tools: Matthes's remark that "systems can solve problems because they introduce randomness" points to the probabilistic nature of large language models generating output. At each step, the model samples the next token from a probability distribution. This randomness gives the model creativity and generalization ability, but it also means the same input may produce different outputs, and the model may generate plausible-sounding but factually incorrect content (i.e., "hallucinations"). Unlike the deterministic behavior of traditional software, errors in AI tools are difficult to exhaustively cover with simple unit tests. Therefore, "trust but verify" requires users to have the ability to assess the correctness of output, especially in high-risk scenarios such as health and finance. Users lacking verification ability are actually transferring risk rather than eliminating it.

Data Privacy and the Future of Content Creation

In the interview, Matthes also expressed concerns about data privacy. He believes the two most frightening things are: data being collected by those who support growing fascist governments; and all collected data being "fragments of me" that can be used to shape a positive or negative image. "This is a terrifying power," he says.

Turning to content creation, Matthes believes human creators are more important than ever. "Human creators are curators—you choose who to talk to and what to present to your audience. The people who trust you have a basic baseline of trust in you, which no AI-generated content can provide." He encourages creators to find their own rhythm and not to share just for the sake of sharing.

He shares a friend's story: someone who started a newsletter during a bicycle trip fell into depression because they felt they had to report to readers every day. "Tell people you need time for introspection and reach out when you have something to say again," Matthes advises.

Interview screenshot

For those who want to start creating, Matthes suggests: find what you truly love, find your rhythm, and think about what human value you can offer. "If you ask AI to design a Python course for you, it will do it, but there will be gaps, and learners won't know where those gaps are."

The Risk of Data Aggregation and "Digital Profiles": What Matthes calls "fragments of me" refers to the scattered data traces individuals leave online—search records, social media posts, location information, shopping behavior, etc. A single data point has limited value, but through data aggregation and correlation analysis, a highly detailed personal profile can be constructed for precise influence or even manipulation. Modern recommendation systems and advertising technology operate on such profiles. When these profiles are used for political propaganda or public opinion guidance, the risk is particularly significant. Understanding this mechanism helps recognize the necessity of data privacy legislation (such as GDPR) and technical solutions like decentralized identity, and also explains why Matthes lists data collection and political manipulation as his two greatest concerns.

Conclusion: Python and Human Judgment Go Hand in Hand

In the AI era, Python remains a powerful tool for expressing ideas and building systems. But more importantly, humans need to understand AI's limitations and maintain critical thinking. As Matthes says, AI tools can make you more powerful, but only if you understand their strengths and limitations. Learning Python, or any programming language, remains the foundation for understanding how AI works—because AI tools are best used by those who understand the language AI uses.

#Python#AI era#Eric Matthes#Python Crash Course#AI coding tools#data privacy#content creation#glue language
Share:

Related articles