Python Track

Story, Bites, and Repositories

Story Index Prologue Introduction Models Models of structure and semantics Data Types & instances Operations Callable objects Structures Class structure Libraries Standard libraries References Resource links    
Bite Index Introduction What is Python? Hello Hello World program Data Python data types and instances more to come not for a while Glossary Glossary of Python terms    
Figure 1. Python demo code
"Python's a wonderful language. It’s very elegant and extremely readable."
- Guido van Rossum, creator of Python

There are four ways of viewing Python content in this site:
  1. Python Story
    An ebook that covers Python programming at intermediate level.
  2. Python Bites
    A collection of pages each focused on one feature of the Python programming language, starting with basics.
  3. Blogs
    None of the blogs discuss Python at this time. That should change by Fall 2025
  4. Python-fiddle code examples
    Only a hello world python program, but more coming soon.
It's easy to sample each of these views by using the links above, or more selectively, using links in the PythonExplorer panel on the left (if you don't see it, click on page header).
What I like about Python
  • Simple syntax with readable structure
    # Send message to console
    class Sender:
        def __init__(self, message):
            self.message = message
    
        def send(self):
            print("\n" + self.message)
    
    if __name__ == "__main__":
        sender = Sender("Hello Python World!")
        sender.send()
        print("\nThat's all Folks!\n")
    
    Quick changes with interpreted execution
    • Edit change to src.py
    • python src.py
    Large standard library and many third-party libraries
    • File and Directory handling
    • Data Types and Structures
    • Serialization
    • Date and Time
    • Networking
    • Security
    • Interfaces
    • Math
    • Introspection and Metaprogramming
    • Text Processing
    Applicable across many common domains
    • Data Engineering and Machine Learning
    • Finance
    • Automation for DevOps
    • Web Development
    • Prototyping
    • Education
    Short learning process
    • Syntax has very little boilerplate
    • Small set of key words
    • Few context dependencies
    • Accessible high quality documentation
    Interoperable with C/C++, .Net, Java, ... Python Interop
    Run-time Introspection Python Introspection
The Python language uses dynamic types, so there is no type analysis at translation time. That makes Python programs quick to build and execute, but also means that many errors have to be caught at run-time. Its safety mechanisms use garbage collection to ensure data safety. That has significant performance penalty coupled with the low throughput of run-time interpretation of code blocks.

The code above on the right illustrates a Python "Hello World" program, often the first thing you encounter when learning a new language. This page is focused on pointing to discussions of Python models and code examples. It has most of the things you will need to start Python programming quickly.

Table 1. Python Resources

Site Resources Content
Python Repositories Index of all the Python code repositories
Python Home Page access to download, docs, Forums, ...
Python Tutorials - python.org for developers new to Python
Python Tutorials - w3schools interactive examples
Python Basics - RealPython Summary of features with screenshots and examples - pdf
Python Story
Index at upper right on this page.
Python ebook
Bites about Python features and code Python Bites
Python Glossary Definitions of common terms
Python Playground online compiler