Scripts Index
Python Libraries and Modules  

Null Object Design Pattern

download download home home   report broken
important script information
company name:
code.activestate.com
license: Free
minimum requirements: Python
functional limitations:
Null Object Design Pattern description
This script is a sample implementation of the 'Null Object' design pattern. Roughly, the goal with Null objects is to provide an 'intelligent' replacement for the often used primitive data type None in Python or Null (or Null pointers) in other languages. These are used for many purposes including the important case where one member of some group of otherwise similar elements is special for whatever reason. Most often this results in conditional statements to distinguish between ordinary elements and the primitive Null value.
Similar scripts
IPv4 address set type (Popularity: ) : IPv4 address set type script initializes an ip4range class.The constructor accepts an unlimited number of arguments that may either be tuples in the form (start,stop), integers, longs or strings, where start and stop in a tuple may also be of ...
Gather detailed system information on Mac OS X (Popularity: ) : This script uses the system_profiler application to retrieve detailed information about a Mac OS X system.There are two useful ways to use it: the first is to ask for a complete Python datastructure containing information about the system (see OSXSystemProfiler.all()) and ...
msoffice2ps Python Module (Popularity: ) : This Python module can be used for conversion of Microsoft Office documents to Postscript via an installed postscript printer driver. This module uses Microsoft Office and the installed postscript printer driver for the export. You can use this module to ...
Gather detailed system information on Ma (Popularity: ) : This script uses the system_profiler application to retrieve detailed information about a Mac OS X system.There are two useful ways to use it: the first is to ask for a complete Python datastructure containing information about the system (see OSXSystemProfiler.all()) ...
PyHtmlTable (Popularity: ) : Allows on-the-fly creation of HTML tables in Python. Similar to Table.pm or Table.php.
Numeric base converter (Popularity: ) : This is a traditional base converter with the twist that it accepts any strings as the digits for the input and output bases. Besides all the normal base-converts, you can now create compact versions of huge numbers by converting them ...
Memento design pattern in python (Popularity: ) : Memento design pattern in python script allows you to cache instances based on what arguments are passed to them.
cgi_buffer (Popularity: ) : A group of libraries that can be used to improve performance in your CGI scripts.
Generator for sequence operations (Popularity: ) : Permutations and combinations are often required in algorithms that do a complete search of the solution space. They are typically rather large so it's best not to compute them entirely but better to lazily generate them.This script uses Python generators ...
Converting windows 64 bit time (Popularity: ) : In Win32 often you'll find time stored in 100-nanosecond intervals since January 1, 1600 UTC. It is stored in a 64-bit value which uses 2 32 bit parts to store the time. The following script is a function that returns ...
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Similar Software
SLPSoft Software System Design and Modeling (Popularity: ) : The SLPSoft Software System Design and Modeling enables developers to model and design a software program by viewing it as a system. When designing a system, then we start with the system requirement and then translate the system requirement to ...
DaoliteMappingTool for .NET (Popularity: ) : Create All Your Data Access Objects for Your Project in Seconds -DaoMappingTool is a professional source code generator specially designed to enhance Daolite. It can generate Business objects based on Daolite and help build your business logic layer more easily. ...
NConstruct (Popularity: ) : * True Rapid Application Development
When you create the database with regard to your customer's demands, you are just a few clicks away from the core of your future application. With NConstruct you get the whole executable and/or source code* ...

CodeSounding (Popularity: ) : CodeSounding is a Java sonification library: the sound produced running a .class (or .jar) is a function of how was structured its source code before compilation. You can therefore produce computer-generated music.

Post-process your Java files with codesounding.cl.ApplyTemplate class and compile ...

Fishdom H2O: Hidden Odyssey for Mac (Popularity: ) : Help Jennifer, a young marine biologist, win the Best Aquarium Award. Dive to the bottom of the sea and find various hidden items in numerous eye-teasing locations. Get cash for them to buy cute sea creatures and beautiful ornaments to ...
Pattern Wizard (Popularity: ) : Draw and print craft patterns to any size. Automatically tiles across pages. Trace photographs. Draw perfect shapes with a few clicks: lines, rectangles, circles, arcs, curves. Easily change your design by clicking & dragging parts of it. Great for any ...
HighRoad Mac (Popularity: ) : HighRoad is a software package that lets you design roads as you always have - graphically. It makes use of the proven graphical interface of modern operating systems so you can use the program immediately without learning complicated commands or ...
InternetNotePad! (Popularity: ) : Wouldn't it be great if you could just use a web page editor to edit your web site directly online, hit save, and everything would be instantly published on your web site? Well wait no longer ..

The first of its ...

SmartState (Popularity: ) : UML State Chart Tool with State Machine Code Generation in ANSI C, C++, Java, C#(.net). Supports state machine persistence, concurrent states, orthogonal states and nested states, multiple transitions, events, guards and effect.
EditiX 2009 for Linux (Small Business License) (Popularity: ) : A powerful and easy to use XML editor and XSLT debugger for Windows, Linux, and Mac OS X designed to help web authors and application programmers take advantage of the latest XML and XML-related technologies such as XSLT / FO, ...
ad


Rate me
supported os
All
stats
downloads 168
version 1.0
size in Kb
popularity   
2111/371356
user rating 5/10
New Scripts
Popular Scripts
Latest Reviews