Programming Methods & Algorithms scripts - Top 4 Download

Programming Methods & Algorithms script downloads

Squirrel

Squirrel is known to run on Windows, Linux, MacOS X, PSP, GameCube, Wii, Nintendo DS and XBOX.It's inspired by languages like Python,Javascript and expecially Lua. Key features "Squirrel": · Dynamic typing · Delegation · Classes & inheritance · Higher order functions · Generators · Cooperative threads(coroutines) · Tail recursion · ...
Unknown

Seed7

It contains concepts from other programming languages, but it's not considered as a direct descendant from any other language. In Seed7, new statements and operators can be declared easily. Functions with type results and type parameters are more elegant than a template or generics concept.Object orientation is used when it brings ...

The Squirrel programming language

It was designed to be a powerful scripting language for small applications like games, due to its small size, reduced memory bandwidth and little real-time requirements.Squirrlel has been tested with the following compilers:MS Visual C++ 6.0,7.0,7.1 and 8.0 (32 and 64bits)MinGW gcc 3.2 (mingw special 20020817-1)Cygnus gcc 3.2Linux gcc 3.2.3Linux gcc ...

Clean implementation for Ordered Dictionary

This script allows you to record the order in which items are added. This implementation uses much less code than the others by extending not well-known class DictMixin. ...
Python

Automated swigging for creating C shared modules

This script contains a simple python function to automate using the swig process for creating C modules for use inside Python. ...
Python

Readable switch construction

Python's lack of a 'switch' statement has garnered much discussion and even a PEP. The most popular substitute uses dictionaries to map cases to functions, which requires lots of defs or lambdas. While the approach shown in this script may be O(n) for cases, it aims to duplicate C's original 'switch' functionality ...
Python

PyCrash

PyCrash is a Run-Time Exception Dumper which handles uncaught exceptions during the execution of Python programs and collects information about the program context. PyCrash can be very useful in report bug information, because the programmer can easily analyse the program execution context of the crashed application. PyCrash provides you following informations: ...
Python

Named Tuples

This script allows you a fast, lightweight attribute-style access to tuples. It contains a function that returns a new subclass of tuple with named fields. The principal features are: - Easy to type/read/modify function signature: NamedTuple('Person', 'name age sex height nationality')  - C-speed attribute lookup using property and itemgetter. - No ...
Python

Python symbols

Python symbols is a toy module that shows a way to define symbols inside functions, using a decorator. ...
Python

Load data in browser without using temp files

This script displays the html files in the default web browser without creating a temp file. It instantiates a trivial http server and calls webbrowser.open with a URL to retrieve html from that server. ...
Python

Flexible enumerate

Flexible enumerate() script adds an additional start argument to the built-in enumerate function. ...
Python

Simpler item retrieval using tupled subscripting

This script shows a small addition to the tuple, list, and dictionary classes to allow for a simpler way to retrieve a number of independent items. By allowing for the subscripting to use tuples some very annoying cases becomes much simpler. This script is suitable for large data sets where you need alot of ...
Python

SQL like ORDER BY function for lists

This script contains a function that allows you to easily sort a list by multiple columns in ascending and descending order similar in function to the ORDER BY clause in SQL. ...
Python

Some python style switches

Some python style switches script shows several ways of making a 'switch' in pyshows sevbr >/ ...
Python

Merge sorted sequences

The usual approach to merging is to loop through both sequences taking the smallest from each until they are both exhausted. Python's "timsort" function detects order in underlying sequences and will run a C speed merge on the data. So, all that is involved is concatenating the sequences and running a ...
Python

Dictionary Tools

Dictionary Tools script shows you a collection of some dictionary tools. ...
Python

Large File Sizes on 32 bit Windows

You can't use the os library to determine the size of large files on 32 bit Windows. This script uses the FindFiles win32call which provides among other things file size information. ...
Python

Random Password Generation

Random Password Generation script is a code snippet to generate an 8 character alphanumeric password. ...
Python

A basic time profiler

A basic time profiler script provides a very simple time profiling module which helps you to measure actual execution time for blocks of Python code. ...
Python

A generator for any number of for loop

Python has a number of nice methods to handle 'for' loops. However, the situation often arises where you have a large number of nested loops. This script allows you to reduces the number of loops to one. ...
Python