Guide to Python introspection

... Conclusion Downloadable resources Related topics Comments Guide to Python introspection How to spy on your Python objects Patrick ... Python objects. We'll begin our exploration of Python introspection in the most general way possible, before diving ...

Charming Python: Create declarative mini-languages

... Also by David on developerWorks , read: " Guide to Python introspection " " Functional programming in Python, Part 1 " " Functional programming in Python, Part 2 " ...

Metaprogramming in Python

... metaprogramming can simplify certain tasks. A bit of introspection If you've been programming in Python for a while, you might know that everything ...

Connecting databases to Python with SQLObject

... don't need to define the columns in Python. SQLObject can extract all the information it needs through introspection on the database. For example, the code in ...

Retrieve performance metrics from the WebSphere Liberty profile, Part 2: Data collection by using Jython

... following resources are helpful when reading this tutorial: Python Tutorial by Guido van Rossum Java classes for introspection: java.lang.Object java.lang.Class Articles, tutorials ...

Retrieve performance metrics from the WebSphere Liberty profile, Part 1: Setup and configuration

... following resources are helpful when reading this tutorial: Python Tutorial by Guido van Rossum Java classes for introspection: java.lang.Object java.lang.Class Articles, tutorials ...

Better Django models

... in cases where you want to perform some introspection on the class object ... via raw SQL. For Python developers leery of SQL — and for anyone wanting ...

Python APIs: The best-kept secret of OpenStack

... examples in the docs, and others don't. Introspect the API One of the best ways to learn about the APIs is to use them inside an interactive command-line Python interpreter. The bpython interpreter as an enhanced Python ...

Example-driven ZODB

... a collection of people, we can use a Python list comprehension: [p for p in people if p.last_name == 'Smith'] But this is a linear search. It would be nice to have a query language that could introspect and indexing structures. On the other hand, if ...

Python testing frameworks: Selecting and running tests

... secondarticle examined how these automated solutionssearch through a Python packageto identify the modules that may contain tests. This article takes the next stepand asks what the frameworks dowhen they then introspect a test moduleto discover what tests live inside ...

Develop, deploy, and manage your apps in the cloud

The IBM Cloud platform has everything you need to get started.