How are Python and C related? I've read that Python is 'made from C'. Does that mean that Python is just an abstraction of lots of large C functions?

This page summarizes the projects mentioned and recommended in the original post on /r/learnprogramming

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • CPython

    The Python programming language

    C usually uses a compiler. For various reasons, writing a compiler for Python is hard so we usually use interpreters. That means we need a program (in machine code, so your computer understands it) that can interpret the Python code. Since we don't generally like writing machine code, we tend to write these in other languages that we can compile to machine code. So when you run "python foo.py", what you're doing is running a C program that reads your Python file and does stuff based on that.

  • jython

    Python for the Java Platform

    The program I linked is the Python interpreter you're probably using, but the abstract set of rules that make up Python are not in any particular way tied to C. You could also use a Java program or a C# program to interpret your Python code. They've even made Python in Python itself, although it uses a more restricted version of Python so it's easier to compile it.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • IronPython

    Implementation of Python 3.x for .NET Framework that is built on top of the Dynamic Language Runtime.

    The program I linked is the Python interpreter you're probably using, but the abstract set of rules that make up Python are not in any particular way tied to C. You could also use a Java program or a C# program to interpret your Python code. They've even made Python in Python itself, although it uses a more restricted version of Python so it's easier to compile it.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts